update base java version to 25, make dependencies explicit, and document container upgrade process
This commit is contained in:
+7
-1
@@ -8,13 +8,19 @@ RUN unzip -j /usr/bin/mcrcon.zip -d /usr/bin/mc-rcon && chmod a+x /usr/bin/mc-rc
|
||||
|
||||
|
||||
# actual image
|
||||
FROM eclipse-temurin:21
|
||||
FROM eclipse-temurin:25
|
||||
|
||||
# included in case the base image doesn't include wget (known bug 08/2026)
|
||||
RUN apt-get update && apt-get install -y wget ca-certificates
|
||||
|
||||
COPY --from=builder /usr/bin/mc-rcon /usr/bin/mc-rcon
|
||||
|
||||
COPY scripts/start-server.sh /usr/bin/start-server.sh
|
||||
RUN chmod a+x /usr/bin/start-server.sh
|
||||
|
||||
COPY scripts/mcrcon /usr/bin/mcrcon
|
||||
RUN chmod a+x /usr/bin/mcrcon
|
||||
|
||||
COPY template/ /defaults/
|
||||
|
||||
WORKDIR /minecraft_data
|
||||
|
||||
Reference in New Issue
Block a user