Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apis/user-java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# First stage to build the application
FROM maven:3.5.4-jdk-10-slim AS build-env
FROM maven:3.5.4-jdk-11-slim AS build-env
ADD ./pom.xml pom.xml
ADD ./src src/
RUN mvn clean package

# build runtime image
FROM openjdk:10-jre-slim
FROM openjdk:11-jre-slim

EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion apis/user-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<version>2.22.1</version>
</plugin>
</plugins>
<resources>
Expand Down