Skip to content

Commit 5fe2e28

Browse files
committed
Update Dockerfile
1 parent a187288 commit 5fe2e28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
# First layer: dependencies for the project, cached in the /root/.m2 directory
5-
FROM maven:3.6-jdk-11 as m2repo
5+
FROM maven:3.8.6-eclipse-temurin-17 as m2repo
66
ARG MAVEN_OPTS
77

88
WORKDIR /project/
@@ -13,7 +13,7 @@ COPY wls-exporter-sidecar/pom.xml wls-exporter-sidecar/
1313
RUN mvn -B -e -C org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline -Ddocker-build
1414

1515
# Now build the project on top of that first layer
16-
FROM maven:3.6-jdk-11 as build
16+
FROM maven:3.8.6-eclipse-temurin-17 as build
1717
ARG MAVEN_OPTS
1818

1919
WORKDIR /project/
@@ -26,7 +26,7 @@ RUN mvn -B -e -C install -Ddocker-build -DskipTests=true
2626

2727
FROM ghcr.io/oracle/oraclelinux:8-slim AS jre-build
2828

29-
ENV JAVA_URL="https://download.java.net/java/GA/jdk18.0.1.1/65ae32619e2f40f3a9af3af1851d6e19/2/GPL/openjdk-18.0.1.1_linux-x64_bin.tar.gz"
29+
ENV JAVA_URL="https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz"
3030

3131
RUN set -eux; \
3232
microdnf -y install gzip tar; \

0 commit comments

Comments
 (0)