From 4e9fb3829c5a855c4515abbc86f786ef85a3004e Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 14 Nov 2020 02:24:26 +0100 Subject: [PATCH] Don't use globbing --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 524a46c..ac89a1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ WORKDIR $INSTDIR RUN ( wget -O ${InstallerJar} ${ForgeUrl1} || wget -O ${InstallerJar} ${ForgeUrl2} ) && \ echo "eula=true" > eula.txt && \ 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