From 2258eff31853b6582bbbc40dbc33164e9d612266 Mon Sep 17 00:00:00 2001 From: Julia Logan Date: Sat, 22 Jun 2024 16:29:38 +0200 Subject: [PATCH] Replace openjdk with eclipse-temurin "This image is officially deprecated and all users are recommended to find and use suitable replacements ASAP." --- minecraft-purpur/Dockerfile | 2 +- minecraft-spigot/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-purpur/Dockerfile b/minecraft-purpur/Dockerfile index d893a59..3dc6a72 100644 --- a/minecraft-purpur/Dockerfile +++ b/minecraft-purpur/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:latest +FROM eclipse-temurin:latest ARG VERSION diff --git a/minecraft-spigot/Dockerfile b/minecraft-spigot/Dockerfile index adc8674..aca740c 100644 --- a/minecraft-spigot/Dockerfile +++ b/minecraft-spigot/Dockerfile @@ -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