Skip to content

Commit

Permalink
Adjust pull policy to match current Docker behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Apr 26, 2024
1 parent c7f3ad2 commit 8d112a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ then
CONTAINER="$2"
else
CONTAINER="ghcr.io/perfsonar/docker-oneshot-builder/$2:latest"
PULL_ARG="--pull always"
fi


Expand Down Expand Up @@ -154,7 +155,7 @@ fi
STATUS=0
${ECHO} ${SUDO} docker run \
${NAME_ARG} \
--pull always \
${PULL_ARG} \
--tty \
--tmpfs /tmp \
--tmpfs /run \
Expand Down

0 comments on commit 8d112a5

Please sign in to comment.