build-docker.sh 214 B

1234567891011
  1. #!/bin/bash
  2. if [ "$RUNTIME" = "" ];
  3. then
  4. export RUNTIME="`which podman`"
  5. if [ "$RUNTIME" = "" ];
  6. then
  7. export RUNTIME="`which docker`"
  8. fi
  9. fi
  10. $RUNTIME rmi jmestore
  11. $RUNTIME build -t jmestore .