Fix build error sous windows (#11)
si la mémoire requise minimum n'est pas explicitée, le build échoue
This commit is contained in:
parent
23f46a3cf6
commit
84251d2cdb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ WORKDIR /spigot
|
|||
RUN apt-get update
|
||||
ADD https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar buildtools.jar
|
||||
RUN git config --global --unset core.autocrlf || true
|
||||
RUN java -jar buildtools.jar --rev ${SPIGOT_VERSION}
|
||||
RUN java -Xmx1024M -jar buildtools.jar --rev ${SPIGOT_VERSION}
|
||||
|
||||
# Final server image
|
||||
FROM openjdk:8
|
||||
|
|
Loading…
Reference in a new issue