Compare commits

..

3 commits

Author SHA1 Message Date
6b10f92e01
Update permission info to 5:60 2024-06-22 16:38:37 +02:00
2258eff318
Replace openjdk with eclipse-temurin
"This image is officially deprecated and all users are recommended to find and use suitable replacements ASAP."
2024-06-22 16:29:38 +02:00
1d6b34d36a Merge pull request 'Use the Spigot com.mojang.eula.agree JVM property instead of writing an eula.txt file' (#2) from allink/Dockerfiles:master into master
Reviewed-on: julia/Dockerfiles#2
2023-06-27 06:36:07 +00:00
4 changed files with 5 additions and 3 deletions

View file

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

View file

@ -1,2 +1,2 @@
Please note that if you are using the composefile you will need to `chown 12:100 data/` to allow the "games" user to write in the workdir.
Please note that if you are using the composefile you will need to `chown 5:60 data/` to allow the "games" user to write in the workdir.
By running this image you agree to the [Minecraft EULA](https://www.minecraft.net/en-us/eula).

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 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

View file

@ -0,0 +1,2 @@
Please note that if you are using the composefile you will need to `chown 5:60 data/` to allow the "games" user to write in the workdir.
By running this image you agree to the [Minecraft EULA](https://www.minecraft.net/en-us/eula).