Skip to content

Commit b9a05b1

Browse files
committed
scripts/dockerenv: typo related to podman
In cb16b81 we made this script podman-compatible. One instance of calling it was missed.
1 parent 7ebb845 commit b9a05b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/dockerenv.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ CONTAINER_NAME="$PROJECT_NAME-$CONTAINER_NAME_SUFFIX"
3939
dockerdev () {
4040
local repo_path="$DIR/.."
4141

42-
if ! docker images --filter "reference=${CONTAINER_IMAGE}" | grep -q "${CONTAINER_IMAGE}"; then
43-
echo "No '${CONTAINER_IMAGE}' docker image found! Maybe you need to run
44-
'docker build --pull -t ${CONTAINER_IMAGE} .'?" >&2
42+
if ! $RUNTIME images --filter "reference=${CONTAINER_IMAGE}" | grep -q "${CONTAINER_IMAGE}"; then
43+
echo "No '${CONTAINER_IMAGE}' ${RUNTIME} image found! Maybe you need to run
44+
'${RUNTIME} build --pull -t ${CONTAINER_IMAGE} .'?" >&2
4545
exit 1
4646
fi
4747

0 commit comments

Comments
 (0)