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

Commit 2dd3193

Browse files
dcaroapraovjr
authored andcommitted
Updated to JRE and JDK to 11 and surefire to 2.22.1 (#101)
1 parent 8886841 commit 2dd3193

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apis/user-java/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# First stage to build the application
2-
FROM maven:3.5.4-jdk-10-slim AS build-env
2+
FROM maven:3.5.4-jdk-11-slim AS build-env
33
ADD ./pom.xml pom.xml
44
ADD ./src src/
55
RUN mvn clean package
66

77
# build runtime image
8-
FROM openjdk:10-jre-slim
8+
FROM openjdk:11-jre-slim
99

1010
EXPOSE 8080
1111

apis/user-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<plugin>
3434
<groupId>org.apache.maven.plugins</groupId>
3535
<artifactId>maven-surefire-plugin</artifactId>
36-
<version>2.14.1</version>
36+
<version>2.22.1</version>
3737
</plugin>
3838
</plugins>
3939
<resources>

0 commit comments

Comments
 (0)