Add makefile for building and pushing image

pull/18/head
yuvipanda 2017-05-27 18:17:12 -07:00 zatwierdzone przez Yuvi Panda
rodzic a10c126506
commit d70a9b5ff5
1 zmienionych plików z 11 dodań i 0 usunięć

11
Makefile 100644
Wyświetl plik

@ -0,0 +1,11 @@
VERSION=$(shell git rev-parse --short HEAD)
IMAGE_PREFIX=jupyter/
build-image:
docker build -t $(IMAGE_PREFIX)repo2docker:v$(VERSION) .
push-image:
docker push $(IMAGE_PREFIX)repo2docker:v$(VERSION)
.all:
build-image push-image