Replace openjdk with eclipse-temurin

"This image is officially deprecated and all users are recommended to find and use suitable replacements ASAP."
This commit is contained in:
Julia Logan 2024-06-22 16:29:38 +02:00
parent 1d6b34d36a
commit 2258eff318
Signed by: julia
GPG key ID: 2CB69D1DB326E875
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM openjdk:latest FROM eclipse-temurin:latest
ARG VERSION ARG VERSION

View file

@ -12,7 +12,7 @@ RUN curl -o buildtools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastS
RUN java -jar buildtools.jar --rev $VERSION RUN java -jar buildtools.jar --rev $VERSION
RUN mv ./spigot-$VERSION.jar ./spigot.jar RUN mv ./spigot-$VERSION.jar ./spigot.jar
FROM openjdk:latest AS minecraft-paper FROM eclipse-temurin:latest AS minecraft-paper
RUN mkdir /usr/games/minecraft-spigot /usr/games/minecraft-spigot/data RUN mkdir /usr/games/minecraft-spigot /usr/games/minecraft-spigot/data
RUN chown -R games /usr/games RUN chown -R games /usr/games