IMAGE_NAME="phlak/mumble" IMAGE_TAG="$$(grep 'ARG MUMBLE_VERSION' Dockerfile | awk -F = '{print $$2}')" build: @docker build --force-rm --pull --tag $(IMAGE_NAME):$(IMAGE_TAG) . purge: @docker image rm --force $(IMAGE_NAME):$(IMAGE_TAG)