Add com.mojang.eula.agree property to Spigot Dockerfile

This commit is contained in:
allink 2023-06-21 10:39:44 +00:00
parent 6d2ff2e40b
commit d42f1a129d

View file

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