mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-18 10:46:22 +00:00
Fix Makefile and env to handle changes in resin-vars
This commit is contained in:
parent
6e62366541
commit
54d25f5202
2
Makefile
2
Makefile
@ -33,7 +33,7 @@ supervisor-dind:
|
||||
run-supervisor: supervisor-dind stop-supervisor
|
||||
cd tools/dind \
|
||||
&& sed --in-place -e "s|SUPERVISOR_IMAGE=.*|SUPERVISOR_IMAGE=$(DEPLOY_REGISTRY)$(IMAGE) |" config/env \
|
||||
&& docker run -d --name resin_supervisor_1 --privileged -v $$(pwd)/config.json:/usr/src/app/config/config.json -v $$(pwd)/config/env:/usr/src/app/config/env -v /sys/fs/cgroup:/sys/fs/cgroup:ro resin/resin-supervisor-dind:$(SUPERVISOR_VERSION)
|
||||
&& docker run -d --name resin_supervisor_1 --privileged -v $$(pwd)/config.json:/mnt/conf/config.json -v $$(pwd)/config/env:/usr/src/app/config/env -v /sys/fs/cgroup:/sys/fs/cgroup:ro resin/resin-supervisor-dind:$(SUPERVISOR_VERSION)
|
||||
|
||||
stop-supervisor:
|
||||
# Stop docker and remove volumes to prevent us from running out of loopback devices,
|
||||
|
@ -1,4 +1,4 @@
|
||||
CONFIG_PATH=/usr/src/app/config/config.json
|
||||
CONFIG_PATH=/mnt/conf/config.json
|
||||
LED_FILE=/dev/null
|
||||
RESIN_SUPERVISOR_SECRET=bananas
|
||||
SUPERVISOR_IMAGE=
|
||||
|
Loading…
Reference in New Issue
Block a user