Compare commits
No commits in common. "master" and "master" have entirely different histories.
4 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM eclipse-temurin:latest
|
FROM openjdk:latest
|
||||||
|
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
|
|
|
@ -1,2 +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.
|
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.
|
||||||
By running this image you agree to the [Minecraft EULA](https://www.minecraft.net/en-us/eula).
|
By running this image you agree to the [Minecraft EULA](https://www.minecraft.net/en-us/eula).
|
||||||
|
|
|
@ -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 eclipse-temurin:latest AS minecraft-paper
|
FROM openjdk: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
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
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).
|
|
Loading…
Reference in a new issue