Skip to content

Commit

Permalink
fix(debug): drop the --progress flag
Browse files Browse the repository at this point in the history
Newer docker engines do not support the flag anymore.
Fixes #399
  • Loading branch information
Tieske committed Oct 24, 2023
1 parent 8e35566 commit b4b222f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -726,15 +726,16 @@ function build_image {
fi

msg "starting build of image '$KONG_TEST_IMAGE'"
local progress_type
if [[ "$PONGO_DEBUG" == "true" ]] ; then
progress_type=plain
else
progress_type=auto
fi
# local progress_type
# if [[ "$PONGO_DEBUG" == "true" ]] ; then
# progress_type=plain
# else
# progress_type=auto
# fi
# The following line caused issues on newer Docker releases, so we're disabling it for now
# --progress $progress_type \
$WINPTY_PREFIX docker build \
-f "$DOCKER_FILE" \
--progress $progress_type \
--build-arg PONGO_VERSION="$PONGO_VERSION" \
--build-arg http_proxy \
--build-arg https_proxy \
Expand Down

0 comments on commit b4b222f

Please sign in to comment.