Skip to content

Commit

Permalink
use MAVEN_CLEAR_REPO for baseline S2I build
Browse files Browse the repository at this point in the history
otherwise the size is inflated by maven .m2 directory

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Jan 30, 2024
1 parent 17af50a commit 540267d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions measure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $S2I build --pull-policy never \
-e MAVEN_S2I_ARTIFACT_DIRS=target \
-e S2I_SOURCE_DEPLOYMENTS_FILTER="*.jar quarkus-app" \
-e QUARKUS_PACKAGE_TYPE=uber-jar \
-e MAVEN_CLEAR_REPO=true \
-e JAVA_APP_JAR=getting-started-1.0.0-SNAPSHOT-runner.jar \
--context-dir=$CONTEXTDIR -r=${rev} \
$APPSRC \
Expand Down

0 comments on commit 540267d

Please sign in to comment.