Skip to content

Instantly share code, notes, and snippets.

@vizowl
Created February 26, 2015 22:53
Show Gist options
  • Save vizowl/c40043dbfe5763b188da to your computer and use it in GitHub Desktop.
Save vizowl/c40043dbfe5763b188da to your computer and use it in GitHub Desktop.
Another makefile for docker
NAME := $(shell uuidgen -r)
.PHONY: all
all: run/*
docker run --name $(NAME) -w /work -v $$PWD:/work -v /output \
ipython/scipystack python make $(MFLAGS)
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