Skip to content

Commit

Permalink
feat: change to maven 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcshug committed Aug 16, 2022
1 parent 31cae7f commit cf738e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# docker build -t osirixfoundation/karnak:latest -f Dockerfile .

# Based on build image containing maven, jdk and git
FROM maven:3.8-eclipse-temurin-17 as builder
#FROM maven:3.8-eclipse-temurin-17 as builder
FROM maven:3.6-openjdk-17 as builder
WORKDIR /app

# Build the Spring Boot application with layers
Expand Down
3 changes: 2 additions & 1 deletion src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


# Based on build image containing maven, jdk and git
FROM maven:3.8-eclipse-temurin-17 as builder
#FROM maven:3.8-eclipse-temurin-17 as builder
FROM maven:3.6-openjdk-17 as builder
ARG JAR_FILE=target/karnak*.jar
WORKDIR /app
COPY ${JAR_FILE} application.jar
Expand Down

0 comments on commit cf738e0

Please sign in to comment.