Skip to content

Instantly share code, notes, and snippets.

@iampeterbanjo
Created August 30, 2017 04:52
Show Gist options
  • Save iampeterbanjo/3e7d49c19a4060180c9e88dfafd069fc to your computer and use it in GitHub Desktop.
Save iampeterbanjo/3e7d49c19a4060180c9e88dfafd069fc to your computer and use it in GitHub Desktop.
katacoda.com Makefile example for managing Docker images
# 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