diff --git a/minecraft-purpur/Dockerfile b/minecraft-purpur/Dockerfile index e6f7def..e7e6387 100644 --- a/minecraft-purpur/Dockerfile +++ b/minecraft-purpur/Dockerfile @@ -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 \ No newline at end of file diff --git a/minecraft-purpur/README.md b/minecraft-purpur/README.md new file mode 100644 index 0000000..79d15ad --- /dev/null +++ b/minecraft-purpur/README.md @@ -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. \ No newline at end of file