Add makefile for building and pushing image

This commit is contained in:
yuvipanda
2017-05-27 18:17:12 -07:00
committed by Yuvi Panda
parent a10c126506
commit d70a9b5ff5

11
Makefile Normal file
View File

@@ -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