Use the Spigot com.mojang.eula.agree JVM property instead of writing an eula.txt file #2
1 changed files with 1 additions and 1 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue