Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
java17
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Nov 8, 2022
1 parent 5deaa9c commit 6eef966
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<properties>
<encoding>UTF-8</encoding>
<java.version>11</java.version>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.debug>true</maven.compiler.debug>
Expand Down
4 changes: 2 additions & 2 deletions services/callback/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11 as build
FROM openjdk:17 as build

ARG WORK_DIR=/build
ARG SERVICE=callback
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${WORK_DIR}/mvnw --batch-mode -P docker-image --file ${WORK_DIR}/pom.xml ${M
RUN cp ${WORK_DIR}/services/${SERVICE}/target/*.jar /usr/sap/${SERVICE}-service/service.jar
RUN cp ${WORK_DIR}/scripts/DpkgHelper.java /DpkgHelper.java

FROM gcr.io/distroless/java-debian11:11
FROM gcr.io/distroless/java17-debian11

ARG SERVICE=callback

Expand Down
4 changes: 2 additions & 2 deletions services/distribution/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11 as build
FROM openjdk:17 as build

ARG WORK_DIR=/build
ARG SERVICE=distribution
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${WORK_DIR}/mvnw --batch-mode -P docker-image --file ${WORK_DIR}/pom.xml ${M
RUN cp ${WORK_DIR}/services/${SERVICE}/target/*.jar /usr/sap/${SERVICE}-service/service.jar
RUN cp ${WORK_DIR}/scripts/DpkgHelper.java /DpkgHelper.java

FROM gcr.io/distroless/java-debian11:11
FROM gcr.io/distroless/java17-debian11

ARG SERVICE=distribution

Expand Down
4 changes: 2 additions & 2 deletions services/download/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11 as build
FROM openjdk:17 as build

ARG WORK_DIR=/build
ARG SERVICE=download
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${WORK_DIR}/mvnw --batch-mode -P docker-image --file ${WORK_DIR}/pom.xml ${M
RUN cp ${WORK_DIR}/services/${SERVICE}/target/*.jar /usr/sap/${SERVICE}-service/service.jar
RUN cp ${WORK_DIR}/scripts/DpkgHelper.java /DpkgHelper.java

FROM gcr.io/distroless/java-debian11:11
FROM gcr.io/distroless/java17-debian11

ARG SERVICE=download

Expand Down
4 changes: 2 additions & 2 deletions services/submission/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11 as build
FROM openjdk:17 as build

ARG WORK_DIR=/build
ARG SERVICE=submission
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${WORK_DIR}/mvnw --batch-mode -P docker-image --file ${WORK_DIR}/pom.xml ${M
RUN cp ${WORK_DIR}/services/${SERVICE}/target/*.jar /usr/sap/${SERVICE}-service/service.jar
RUN cp ${WORK_DIR}/scripts/DpkgHelper.java /DpkgHelper.java

FROM gcr.io/distroless/java-debian11:11
FROM gcr.io/distroless/java17-debian11

ARG SERVICE=submission

Expand Down
4 changes: 2 additions & 2 deletions services/upload/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11 as build
FROM openjdk:17 as build

ARG WORK_DIR=/build
ARG SERVICE=upload
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${WORK_DIR}/mvnw --batch-mode -P docker-image --file ${WORK_DIR}/pom.xml ${M
RUN cp ${WORK_DIR}/services/${SERVICE}/target/*.jar /usr/sap/${SERVICE}-service/service.jar
RUN cp ${WORK_DIR}/scripts/DpkgHelper.java /DpkgHelper.java

FROM gcr.io/distroless/java-debian11:11
FROM gcr.io/distroless/java17-debian11

ARG SERVICE=upload

Expand Down

0 comments on commit 6eef966

Please sign in to comment.