Merge pull request 'Merge patch-1' (#1) from QuadraticKid/Dockerfiles:patch-1 into master
Reviewed-on: #1
This commit is contained in:
commit
28a8633c65
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@ RUN chown -R games /usr/games
|
|||
|
||||
USER games
|
||||
WORKDIR /usr/games/minecraft-purpur
|
||||
RUN curl -o purpur.jar https://api.pl3x.net/v2/purpur/$VERSION/latest/download
|
||||
RUN curl -o purpur.jar https://api.purpurmc.org/v2/purpur/$VERSION/latest/download
|
||||
|
||||
WORKDIR /usr/games/minecraft-purpur/data
|
||||
CMD [ "java", "-jar", "../purpur.jar" ]
|
||||
CMD echo "eula=true" > eula.txt && java -jar ../purpur.jar
|
1
minecraft-purpur/README.md
Normal file
1
minecraft-purpur/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
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.
|
Loading…
Reference in a new issue