Skip to content

Commit

Permalink
Add makefile for building and pushing image
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed May 29, 2017
1 parent a10c126 commit d70a9b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d70a9b5

Please sign in to comment.