Browse Source

Work around broken globbing

master
paul 6 months ago
committed by stratholme
parent
commit
2eaeba4702
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Dockerfile
  2. +1
    -1
      entrypoint.sh

+ 1
- 1
Dockerfile View File

@ -25,7 +25,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-${MINECRAFT}-*.jar" forge.jar || exit 2
ln -s "forge-${MINECRAFT}-${FORGE}.jar" forge.jar || exit 2
COPY entrypoint.sh /usr/bin

+ 1
- 1
entrypoint.sh View File

@ -12,7 +12,7 @@ rmln() {
rmln "$INSTDIR/forge.jar" "$RUNDIR/forge.jar"
rmln "$INSTDIR/libraries" "$RUNDIR/libraries"
rmln "$INSTDIR/minecraft_server.$MineVers.jar" "$RUNDIR/minecraft_server.$MineVers.jar"
rmln "$INSTDIR/minecraft_server.$MINECRAFT.jar" "$RUNDIR/minecraft_server.$MINECRAFT.jar"
rmln "$INSTDIR/eula.txt" "$RUNDIR/eula.txt"
( echo "MINECRAFT=${MINECRAFT}"; echo "FORGE=${FORGE}" ) > $RUNDIR/version.info

Loading…
Cancel
Save