File tree Expand file tree Collapse file tree 6 files changed +6
-78
lines changed Expand file tree Collapse file tree 6 files changed +6
-78
lines changed Original file line number Diff line number Diff line change 84
84
if : ${{ matrix.language == 'java' }}
85
85
uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
86
86
with :
87
- java-version : 17
87
+ java-version : 21
88
88
distribution : temurin
89
89
java-package : jdk
90
90
cache : maven
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Eclipse Tractus-X product(s) installed within the image:
8
8
- Project license: [ Apache License, Version 2.0] ( https://github.com/eclipse-tractusx/puris/blob/main/backend/LICENSE )
9
9
10
10
** Used Base Image [ Backend] **
11
- ` eclipse-temurin:17 -jre-alpine `
11
+ ` eclipse-temurin:21 -jre-alpine `
12
12
13
13
- DockerHub: https://hub.docker.com/_/eclipse-temurin
14
14
- GitHub project: https://github.com/adoptium/containers
Original file line number Diff line number Diff line change 18
18
#
19
19
# SPDX-License-Identifier: Apache-2.0
20
20
#
21
- FROM maven:3.8.7 -eclipse-temurin-17 as build
21
+ FROM maven:3.9.6 -eclipse-temurin-21 as build
22
22
RUN mkdir /app
23
23
WORKDIR /app
24
24
COPY pom.xml .
@@ -27,11 +27,11 @@ RUN mvn dependency:go-offline
27
27
COPY src/ /app/src/
28
28
RUN mvn clean package -DskipTests
29
29
30
- FROM eclipse-temurin:17 -jre-alpine
30
+ FROM eclipse-temurin:21 -jre-alpine
31
31
RUN mkdir /opt/app
32
32
COPY --from=build /app/target/*.jar /opt/app/puris-backend.jar
33
33
34
- RUN adduser -u 8877 -D nonroot && chmod 755 /opt/app/puris-backend.jar
34
+ RUN adduser -u 8877 --disabled-password --gecos "" --no-create-home nonroot && chmod 755 /opt/app/puris-backend.jar
35
35
36
36
USER nonroot
37
37
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 37
37
<name >puris-backend</name >
38
38
<description >PURIS Backend</description >
39
39
<properties >
40
- <java .version>17 </java .version>
40
+ <java .version>21 </java .version>
41
41
<springdoc .version>2.5.0</springdoc .version>
42
42
<hibernate-validator .version>8.0.1.Final</hibernate-validator .version>
43
43
<snakeyaml .version>2.2</snakeyaml .version>
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments