mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 13:05:51 +00:00
commit
405bd4a2f1
2
Makefile
2
Makefile
@ -130,7 +130,7 @@ run-supervisor: supervisor-dind
|
||||
cd tools/dind \
|
||||
&& ./resinos-in-container/resinos-in-container.sh \
|
||||
--detach \
|
||||
--config "$$(pwd)/$(CONFIG_FILENAME)" \
|
||||
--config "$(CONFIG_FILENAME)" \
|
||||
--image $(DIND_IMAGE) \
|
||||
--id $(CONTAINER_NAME) \
|
||||
--extra-args "${SUPERVISOR_DIND_MOUNTS}"
|
||||
|
6
dindctl
6
dindctl
@ -107,7 +107,7 @@ function parseOptions {
|
||||
CLEAN_VOLUMES="false"
|
||||
;;
|
||||
*)
|
||||
echo "Warning: unknown argument: $arg"
|
||||
echo "Warning: unknown argument: $1"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
@ -136,8 +136,8 @@ function refreshSupervisorSrc {
|
||||
}
|
||||
|
||||
function runDind {
|
||||
if [ ! -f "tools/dind/resinos-in-container/resinos-in-container.sh" ]; then
|
||||
git submodule update --init
|
||||
if [ ! -f "$SUPERVISOR_BASE_DIR/tools/dind/resinos-in-container/resinos-in-container.sh" ]; then
|
||||
(cd $SUPERVISOR_BASE_DIR; git submodule update --init)
|
||||
fi
|
||||
if [ "$MOUNT_DIST" = "true" ]; then
|
||||
buildSupervisorSrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user