Last active
August 29, 2015 14:16
-
-
Save vizowl/98fbdb7e0a6fca4554e4 to your computer and use it in GitHub Desktop.
Makefile for creating a histogram in a docker container
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
NAME := $(shell uuidgen -r) | |
out.png: histogram.py image.jpg | |
docker run --name $(NAME) -w /work -v $$PWD:/work -v /output \ | |
ipython/scipystack python histogram.py | |
docker cp $(NAME):/output/out.png . | |
docker rm $(NAME) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment