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:
Ronan TREILLET 2020-03-21 12:01:03 +01:00 committed by GitHub
parent 23f46a3cf6
commit 84251d2cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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