mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Pull the supervisor image if it's not available when running with dindctl
Change-Type: patch Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
parent
3771fd53ea
commit
babee8667e
4
dindctl
4
dindctl
@ -115,6 +115,10 @@ function runDind {
|
||||
if [ "$PRELOADED_IMAGE" = "true" ]; then
|
||||
echo "Running with preloaded apps"
|
||||
fi
|
||||
if ! ( docker inspect $SUPERVISOR_IMAGE &> /dev/null ); then
|
||||
echo "$SUPERVISOR_IMAGE not available locally, pulling"
|
||||
docker pull $SUPERVISOR_IMAGE
|
||||
fi
|
||||
echo "Starting dind supervisor"
|
||||
make -C "$SUPERVISOR_BASE_DIR" \
|
||||
ARCH="$ARCH" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user