forked from julia/Dockerfiles
Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
6b10f92e01 | |||
2258eff318 | |||
1d6b34d36a |
4 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM openjdk:latest
|
FROM eclipse-temurin:latest
|
||||||
|
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
|
|
|
@ -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).
|
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 openjdk:latest AS minecraft-paper
|
FROM eclipse-temurin: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
|
||||||
|
|
2
minecraft-spigot/README.md
Normal file
2
minecraft-spigot/README.md
Normal 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).
|
Loading…
Reference in a new issue