Konubinix' opinionated web of thoughts

Share Variable in Multi-Stage Dockerfile: ARG Before FROM Not Substituted

fleeting

docker - Share variable in multi-stage Dockerfile: ARG before FROM not substituted - Stack Overflow

ARGs only last for the build phase of a single image. For the multistage, renew the ARG by simply stating:

ARG DARSHAN_VER

https://stackoverflow.com/questions/53681522/share-variable-in-multi-stage-dockerfile-arg-before-from-not-substituted