Created
February 15, 2016 01:24
-
-
Save billagee/a11874bb83d54ffcfaf8 to your computer and use it in GitHub Desktop.
This file contains 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
# Borrowed from | |
# https://github.com/jfrazelle/dockerfiles/blob/master/kiwi-builder/Makefile | |
.PHONY: all build run shell clean | |
repo_name = myrepo/ghostdriver-py27 | |
all: run | |
build: | |
docker build --rm --force-rm -t $(repo_name) . | |
run: build | |
docker run --rm $(repo_name) | |
shell: build | |
docker run -it --rm $(repo_name) bash | |
clean: | |
docker rmi $(repo_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment