kopia lustrzana https://github.com/jupyterhub/repo2docker
Add makefile for building and pushing image
rodzic
a10c126506
commit
d70a9b5ff5
|
@ -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
|
Ładowanie…
Reference in New Issue