-
-
Save iampeterbanjo/3e7d49c19a4060180c9e88dfafd069fc to your computer and use it in GitHub Desktop.
katacoda.com Makefile example for managing Docker images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# katacoda Makefile example for managing Docker images | |
NAME = benhall/docker-make-demo | |
default: build | |
build: | |
docker build -t $(NAME) . | |
push: | |
docker push $(NAME) | |
debug: | |
docker run --rm -it $(NAME) /bin/bash | |
run: | |
docker run --rm $(NAME) | |
release: build push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment