Docker build no longer works with github url
Change default URL for progrium/buildstep to include full git clone url
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,7 +2,7 @@ DOKKU_VERSION = master
|
|||||||
|
|
||||||
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
|
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
|
||||||
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
||||||
STACK_URL ?= github.com/progrium/buildstep
|
STACK_URL ?= https://github.com/progrium/buildstep.git
|
||||||
PREBUILT_STACK_URL ?= https://s3.amazonaws.com/progrium-dokku/progrium_buildstep_79cf6805cf.tgz
|
PREBUILT_STACK_URL ?= https://s3.amazonaws.com/progrium-dokku/progrium_buildstep_79cf6805cf.tgz
|
||||||
DOKKU_ROOT ?= /home/dokku
|
DOKKU_ROOT ?= /home/dokku
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ aufs:
|
|||||||
|
|
||||||
stack:
|
stack:
|
||||||
ifdef BUILD_STACK
|
ifdef BUILD_STACK
|
||||||
@docker images | grep progrium/buildstep || docker build -t progrium/buildstep ${STACK_URL}
|
@docker images | grep progrium/buildstep || (git clone ${STACK_URL} /tmp/buildstep && docker build -t progrium/buildstep /tmp/buildstep && rm -rf /tmp/buildstep)
|
||||||
else
|
else
|
||||||
@docker images | grep progrium/buildstep || curl ${PREBUILT_STACK_URL} | gunzip -cd | docker import - progrium/buildstep
|
@docker images | grep progrium/buildstep || curl ${PREBUILT_STACK_URL} | gunzip -cd | docker import - progrium/buildstep
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user