mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Dockerfile update for Java 19
This commit is contained in:
parent
0f3ca7807e
commit
0b620c0510
@ -5,8 +5,8 @@ COPY . .
|
||||
# Package it
|
||||
RUN mvn package && mv /target/Morningstar*-with-dependencies.jar /target/Morningstar.jar
|
||||
|
||||
# Use openjdk 11 for running
|
||||
FROM openjdk:11 AS runner
|
||||
# Use Java 19 for running
|
||||
FROM eclipse-temurin:19 AS runner
|
||||
|
||||
# Copy the generated source
|
||||
COPY --from=builder /target/Morningstar.jar /
|
||||
|
Loading…
Reference in New Issue
Block a user