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:
parent
2eaeba4702
commit
f18ee5c44c
1 changed files with 3 additions and 1 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue