Use the Spigot com.mojang.eula.agree JVM property instead of writing an eula.txt file #2

Merged
julia merged 2 commits from allink/Dockerfiles:master into master 2023-06-27 06:36:07 +00:00
Showing only changes of commit d42f1a129d - Show all commits

View file

@ -22,4 +22,4 @@ WORKDIR /usr/games/minecraft-spigot
COPY --chown=games:users --from=buildtools /home/buildtools/spigot.jar ./spigot.jar
WORKDIR /usr/games/minecraft-spigot/data
CMD [ "java", "-jar", "../spigot.jar" ]
CMD [ "java", "-Dcom.mojang.eula.agree=true", "-jar", "../spigot.jar" ]