Fix purpur fetch endpoint and add auto-EULA accept

This commit is contained in:
QuadraticKid 2022-01-16 10:33:22 +00:00
parent af4e342a97
commit 247614fc5d

View file

@ -7,7 +7,7 @@ RUN chown -R games /usr/games
USER games USER games
WORKDIR /usr/games/minecraft-purpur 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 WORKDIR /usr/games/minecraft-purpur/data
CMD [ "java", "-jar", "../purpur.jar" ] CMD echo "eula=true" > eula.txt && java -jar ../purpur.jar