From 18444e5457fe6e51d584f7392063d991845f2cc8 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Mon, 28 Oct 2024 15:54:50 +0530 Subject: [PATCH] Update Dockerfile --- maven-check-versions/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-check-versions/Dockerfile b/maven-check-versions/Dockerfile index e6247a1..0f15dac 100644 --- a/maven-check-versions/Dockerfile +++ b/maven-check-versions/Dockerfile @@ -8,7 +8,7 @@ RUN mkdir -p /opt/maven && chmod 777 /opt/maven COPY maven-check-versions.sh /opt/ -ARG MAVEN_OPTS="-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Djava.awt.headless=true" +ARG MAVEN_OPTS="-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=/opt/maven/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Djava.awt.headless=true" ENV MAVEN_OPTS="${MAVEN_OPTS}" ARG MAVEN_CLI_OPTS="--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"