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:
parent
1d6b34d36a
commit
2258eff318
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM openjdk:latest
|
||||
FROM eclipse-temurin:latest
|
||||
|
||||
ARG VERSION
|
||||
|
||||
|
|
|
@ -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 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 chown -R games /usr/games
|
||||
|
|
Loading…
Reference in a new issue