From 247614fc5da676f57b2cfb53acdfc940b5ca7919 Mon Sep 17 00:00:00 2001 From: QuadraticKid Date: Sun, 16 Jan 2022 10:33:22 +0000 Subject: [PATCH 1/2] Fix purpur fetch endpoint and add auto-EULA accept --- minecraft-purpur/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 7251bf6f683f7b68827f964b35111d8cf170a7ac Mon Sep 17 00:00:00 2001 From: QuadraticKid Date: Sun, 16 Jan 2022 10:36:20 +0000 Subject: [PATCH 2/2] Add README --- minecraft-purpur/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 minecraft-purpur/README.md 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