Persist ARG to runtime.

ARG war reset after building, so the entrypoint did not get the environment variables as expected.
This commit is contained in:
paul 2020-11-14 01:28:30 +01:00
parent 2eaeba4702
commit f18ee5c44c

View file

@ -7,7 +7,9 @@ ARG FORGE=10.13.4.1641
ENV \ ENV \
ForgeUrl1=http://files.minecraftforge.net/maven/net/minecraftforge/forge/${MINECRAFT}-${FORGE}/forge-${MINECRAFT}-${FORGE}-installer.jar \ ForgeUrl1=http://files.minecraftforge.net/maven/net/minecraftforge/forge/${MINECRAFT}-${FORGE}/forge-${MINECRAFT}-${FORGE}-installer.jar \
ForgeUrl2=http://files.minecraftforge.net/maven/net/minecraftforge/forge/${MINECRAFT}-${FORGE}-${MINECRAFT}/forge-${MINECRAFT}-${FORGE}-${MINECRAFT}-installer.jar \ ForgeUrl2=http://files.minecraftforge.net/maven/net/minecraftforge/forge/${MINECRAFT}-${FORGE}-${MINECRAFT}/forge-${MINECRAFT}-${FORGE}-${MINECRAFT}-installer.jar \
InstallerJar=forge-${MINECRAFT}-${FORGE}-installer.jar InstallerJar=forge-${MINECRAFT}-${FORGE}-installer.jar \
MINECRAFT=$MINECRAFT \
FORGE=$FORGE
ENV \ ENV \
INSTDIR=/usr/share/minecraft \ INSTDIR=/usr/share/minecraft \