Skip to content

Instantly share code, notes, and snippets.

@billagee
Created February 15, 2016 01:24
Show Gist options
  • Save billagee/a11874bb83d54ffcfaf8 to your computer and use it in GitHub Desktop.
Save billagee/a11874bb83d54ffcfaf8 to your computer and use it in GitHub Desktop.
# 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