Bump to Java 17

This commit is contained in:
P0nk
2022-02-12 17:22:54 +01:00
parent b8e8caeb31
commit ef70dac1a0
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
#
# Cosmic JAR creation stage
#
FROM maven:3.8.1-openjdk-16 AS jar
FROM maven:3.8.4-openjdk-17 AS jar
# Build in a separated location which won't have permissions issues.
WORKDIR /opt/cosmic
@@ -21,7 +21,7 @@ RUN mvn -f ./pom.xml clean package -Dmaven.test.skip -T 1C
#
# Server creation stage
#
FROM openjdk:16
FROM openjdk:17.0.2
# Host the server in a location that won't have permissions issues.
WORKDIR /opt/server