Skip to content

Commit 2660b23

Browse files
authored
Update Maven to 3.9.2 (#1434)
1 parent 31631fb commit 2660b23

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

testkit/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,7 @@ RUN mkdir -p /etc/apt/keyrings \
1919
&& rm -rf /var/lib/apt/lists/* \
2020
&& ln -s /usr/lib/jvm/temurin-17-jdk-* $JAVA_HOME
2121

22-
# https://maven.apache.org/download.cgi
23-
RUN curl --location --output /tmp/download.tar.gz --silent --show-error https://downloads.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.tar.gz \
24-
&& cd /tmp \
25-
&& tar -xzf download.tar.gz \
26-
&& echo 'd3be5956712d1c2cf7a6e4c3a2db1841aa971c6097c7a67f59493a5873ccf8c8b889cf988e4e9801390a2b1ae5a0669de07673acb090a083232dbd3faf82f3e3 /tmp/download.tar.gz' | sha512sum --check --quiet \
27-
&& mv apache-maven* /opt/apache-maven \
28-
&& rm download.tar.gz
22+
COPY --from=maven:3.9.2-eclipse-temurin-17 /usr/share/maven /opt/apache-maven
2923

3024
# Install our own CAs on the image.
3125
# Assumes Linux Debian based image.

0 commit comments

Comments
 (0)