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 @@ -14,13 +14,7 @@ RUN apt-get update && apt-get install -y \
14
14
# https://hub.docker.com/_/eclipse-temurin
15
15
COPY --from=eclipse-temurin:17-jdk /opt/java/openjdk $JAVA_HOME
16
16
17
- # https://maven.apache.org/download.cgi
18
- 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 \
19
- && cd /tmp \
20
- && tar -xzf download.tar.gz \
21
- && echo 'd3be5956712d1c2cf7a6e4c3a2db1841aa971c6097c7a67f59493a5873ccf8c8b889cf988e4e9801390a2b1ae5a0669de07673acb090a083232dbd3faf82f3e3 /tmp/download.tar.gz' | sha512sum --check --quiet \
22
- && mv apache-maven* /opt/apache-maven \
23
- && rm download.tar.gz
17
+ COPY --from=maven:3.9.2-eclipse-temurin-17 /usr/share/maven /opt/apache-maven
24
18
25
19
# Install our own CAs on the image.
26
20
# Assumes Linux Debian based image.
You can’t perform that action at this time.
0 commit comments