1 2 3 4 5
#!/bin/sh IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} docker build . -t "$IMAGE_NAME" --pull