File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,7 @@ RUN mkdir -p /etc/apt/keyrings \
19
19
&& rm -rf /var/lib/apt/lists/* \
20
20
&& ln -s /usr/lib/jvm/temurin-17-jdk-* $JAVA_HOME
21
21
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
29
23
30
24
# Install our own CAs on the image.
31
25
# Assumes Linux Debian based image.
You can’t perform that action at this time.
0 commit comments