Don't use globbing

This commit is contained in:
paul 2020-11-14 02:24:26 +01:00
parent 9e1ab047a3
commit 4e9fb3829c

View file

@ -27,7 +27,7 @@ WORKDIR $INSTDIR
RUN ( wget -O ${InstallerJar} ${ForgeUrl1} || wget -O ${InstallerJar} ${ForgeUrl2} ) && \ RUN ( wget -O ${InstallerJar} ${ForgeUrl1} || wget -O ${InstallerJar} ${ForgeUrl2} ) && \
echo "eula=true" > eula.txt && \ echo "eula=true" > eula.txt && \
java -jar ./${InstallerJar} --installServer && rm -f ${InstallerJar} && \ java -jar ./${InstallerJar} --installServer && rm -f ${InstallerJar} && \
ln -s "forge-*.jar" forge.jar || exit 2 ln -s "$(find -maxdepth 1 -name 'forge-*.jar')" forge.jar || exit 2
COPY entrypoint.sh /usr/bin COPY entrypoint.sh /usr/bin