diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 161c5f2..9ec70a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: steps: - name: Checkout Sources uses: actions/checkout@v3 - - name: Setup Java 21 + - name: Setup Java 22 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 21 + java-version: 22 - name: Build WAR run: | sudo apt-get update diff --git a/pom.xml b/pom.xml index da7b03f..92c6858 100644 --- a/pom.xml +++ b/pom.xml @@ -14,9 +14,9 @@ 10.0.0 5.10.2 - 24.2.0 + 24.3.0 - 21 + 22 webprofile UTF-8 @@ -124,7 +124,7 @@ com.microsoft.playwright playwright - 1.28.1 + 1.42.0 test diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 92ee4e8..61e2a0b 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -1,7 +1,7 @@ # # Build the WAR file # -FROM eclipse-temurin:21 AS builder +FROM eclipse-temurin:22 AS builder ENV MAVEN_VERSION 3.8.6 RUN cd /usr/local && \ curl -O https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \ @@ -14,8 +14,8 @@ RUN export PATH=$PATH:/usr/local/apache-maven-$MAVEN_VERSION/bin && \ # # Download the Piranha Web Profile distribution # -FROM eclipse-temurin:21 AS dist -ENV PIRANHA_VERSION 23.10.0 +FROM eclipse-temurin:22 AS dist +ENV PIRANHA_VERSION 24.3.0 WORKDIR /root RUN curl -O https://repo1.maven.org/maven2/cloud/piranha/dist/piranha-dist-webprofile/$PIRANHA_VERSION/piranha-dist-webprofile-$PIRANHA_VERSION.jar && \ mv piranha-dist-webprofile-$PIRANHA_VERSION.jar piranha-dist-webprofile.jar @@ -23,7 +23,7 @@ RUN curl -O https://repo1.maven.org/maven2/cloud/piranha/dist/piranha-dist-webpr # # Run the application # -FROM eclipse-temurin:21 +FROM eclipse-temurin2221 RUN useradd -m piranha EXPOSE 8080 COPY --from=builder /root/target/piranha-start.war /home/piranha/ROOT.war