balena-supervisor/Makefile

25 lines
657 B
Makefile
Raw Normal View History

DISABLE_CACHE = 'false'
IMAGE = resin/rpi-supervisor
SUPERVISOR_REGISTRY = registry.staging.resin.io
SUPERVISOR_VERSION = latest
BUILDSTEP_REGISTRY = registry.staging.resin.io
BUILDSTEP_VERSION = latest
2014-07-10 13:57:57 +00:00
BUILDSTEP_REPO = resin/rpi-buildstep-armv6hf
all: supervisor
supervisor:
2014-07-10 13:57:57 +00:00
docker pull $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION)
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)
.PHONY: supervisor