mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-18 18:56:24 +00:00
Change the Dockerfile base to something that is unique - Allows to simply change a variable to point to a different base
This commit is contained in:
parent
451cb06faf
commit
2f861fc4d8
@ -1,3 +1,3 @@
|
||||
FROM resin/rpi-buildstep-armv6hf:latest
|
||||
FROM resin/supervisor-base:latest
|
||||
ADD . /app
|
||||
RUN /build/builder
|
||||
|
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ all: supervisor
|
||||
|
||||
supervisor:
|
||||
docker pull $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION)
|
||||
docker tag $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) resin/rpi-buildstep-armv6hf:latest
|
||||
docker tag $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) resin/supervisor-base:latest
|
||||
docker build --no-cache=$(DISABLE_CACHE) -t $(IMAGE):$(SUPERVISOR_VERSION) .
|
||||
docker tag $(IMAGE):$(SUPERVISOR_VERSION) $(SUPERVISOR_REGISTRY)/$(IMAGE):$(SUPERVISOR_VERSION)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user