From 209d365891adf54f9162274df581906cd29b33dc Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Fri, 18 Jul 2014 15:16:01 +0100 Subject: [PATCH] Use the resin/supervisor-base image when creating an accelerated supervisor, to match when building from the dockerfile. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a03e3879..72a1c125 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ else docker pull $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) endif docker tag $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) resin/supervisor-base:latest - docker run --name build-supervisor-latest --volumes-from $(ACCELERATOR):ro -v `pwd`:/tmp/app $(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) bash -i -c ". /.env && cp -r /tmp/app /app && /build/builder" + docker run --name build-supervisor-latest --volumes-from $(ACCELERATOR):ro -v `pwd`:/tmp/app resin/supervisor-base:latest bash -i -c ". /.env && cp -r /tmp/app /app && /build/builder" docker commit build-supervisor-latest $(IMAGE) > /dev/null docker rm build-supervisor-latest else