The ARG is only valid before the FROM (or after, if defined after). Thus checkout of the branch ${VERSION} does not work as VERSION is only defined before FROM. This MR adds a new ARG MUCOLL_VERSION=release that can be used to specify the version. This also means that the image "version" is no longer tied to the mucoll-spack version.
Fixed a few bash syntax errors in checking out KEY4HEP_COMMIT.
Fixes two problems with the Dockerfile-sim.
ARG
is only valid before theFROM
(or after, if defined after). Thus checkout of the branch${VERSION}
does not work asVERSION
is only defined beforeFROM
. This MR adds a newARG MUCOLL_VERSION=release
that can be used to specify the version. This also means that the image "version" is no longer tied to the mucoll-spack version.KEY4HEP_COMMIT
.