Skip to content

Commit

Permalink
updated dockerfie from java 8 to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jjstratton committed Nov 7, 2024
1 parent 33fe987 commit 1304080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/document-utils-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#############################################################################################
### Stage where Docker is building spring boot app using maven ###
#############################################################################################
FROM maven:3.6.3-jdk-8 as build
FROM maven:3.8.3-openjdk-17 as build

ARG MVN_PROFILE
ARG SKIP_TESTS=false
Expand All @@ -23,7 +23,7 @@ RUN mvn -B clean package \
#############################################################################################
### Stage where Docker is running a java process to run a service built in previous stage ###
#############################################################################################
FROM openjdk:8-jdk-slim
FROM eclipse-temurin:17-jre-alpine

# ARG MVN_PROFILES
ARG SERVICE_NAME
Expand Down

0 comments on commit 1304080

Please sign in to comment.