Skip to content

Commit

Permalink
Remove squash from build_java_test_image.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Apr 5, 2024
1 parent f16eb6b commit 70293d9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build/build_java_test_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$SCRIPT_DIR/.."
SQUASH_PARAM=""
# check if docker experimental mode is enabled which is required for
# using "docker build --squash" for squashing all intermediate layers of the build to a single layer
if [[ "$(docker version -f '{{.Server.Experimental}}' 2>/dev/null)" == "true" ]]; then
SQUASH_PARAM="-Ddocker.squash=true"
fi
mvn -am -pl tests/docker-images/java-test-image -Pcore-modules,-main,integrationTests,docker \
-Dmaven.test.skip=true -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true $SQUASH_PARAM \
-Dmaven.test.skip=true -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true \
"$@" install

0 comments on commit 70293d9

Please sign in to comment.