File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV LC_ALL=C.UTF-8
1010# === INSTALL JDK and Maven ===
1111
1212RUN apt-get update && \
13- apt-get install -y --no-install-recommends openjdk-21 -jdk \
13+ apt-get install -y --no-install-recommends openjdk-25 -jdk \
1414 # Install utilities required for downloading browsers
1515 wget \
1616 # Install utilities required for downloading driver
@@ -22,13 +22,13 @@ RUN apt-get update && \
2222 adduser pwuser
2323
2424# Ubuntu 22.04 and earlier come with Maven 3.6.3 which fails with
25- # Java 21 , so we install latest Maven from Apache instead.
26- RUN VERSION=3.9.6 && \
25+ # Java 25 , so we install latest Maven from Apache instead.
26+ RUN VERSION=3.9.12 && \
2727 wget -O - https://archive.apache.org/dist/maven/maven-3/$VERSION/binaries/apache-maven-$VERSION-bin.tar.gz | tar zxfv - -C /opt/ && \
2828 ln -s /opt/apache-maven-$VERSION/bin/mvn /usr/local/bin/
2929
3030ARG PW_TARGET_ARCH
31- ENV JAVA_HOME=/usr/lib/jvm/java-21 -openjdk-${PW_TARGET_ARCH}
31+ ENV JAVA_HOME=/usr/lib/jvm/java-25 -openjdk-${PW_TARGET_ARCH}
3232
3333# === BAKE BROWSERS INTO IMAGE ===
3434
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV LC_ALL=C.UTF-8
1010# === INSTALL JDK and Maven ===
1111
1212RUN apt-get update && \
13- apt-get install -y --no-install-recommends openjdk-21 -jdk \
13+ apt-get install -y --no-install-recommends openjdk-25 -jdk \
1414 # Install utilities required for downloading browsers
1515 wget \
1616 # Install utilities required for downloading driver
@@ -22,13 +22,13 @@ RUN apt-get update && \
2222 adduser pwuser
2323
2424# Ubuntu 22.04 and earlier come with Maven 3.6.3 which fails with
25- # Java 21 , so we install latest Maven from Apache instead.
26- RUN VERSION=3.9.6 && \
25+ # Java 25 , so we install latest Maven from Apache instead.
26+ RUN VERSION=3.9.12 && \
2727 wget -O - https://archive.apache.org/dist/maven/maven-3/$VERSION/binaries/apache-maven-$VERSION-bin.tar.gz | tar zxfv - -C /opt/ && \
2828 ln -s /opt/apache-maven-$VERSION/bin/mvn /usr/local/bin/
2929
3030ARG PW_TARGET_ARCH
31- ENV JAVA_HOME=/usr/lib/jvm/java-21 -openjdk-${PW_TARGET_ARCH}
31+ ENV JAVA_HOME=/usr/lib/jvm/java-25 -openjdk-${PW_TARGET_ARCH}
3232
3333# === BAKE BROWSERS INTO IMAGE ===
3434
You can’t perform that action at this time.
0 commit comments