Closed zhuizhuhaomeng closed 1 year ago
As I'm testing other image label issues, I thought of this PR. I am not 100% sure of my comment. Also, I linked the wrong issue and I cannot find the original issue right now (years ago). But, this is the relevant Dockerfile documentation regarding FROM
and ARG
. Still investigating but I may re-open this.
@zhuizhuhaomeng Thank you for your contribution -- I appreciate that you fixed all the files.
However, those duplicate
ARG
statements must be there after theFROM
, otherwise the values are not carried through the rest of the file; theLABEL
statements below need them.Here's an example where I had to fix an issue because of that: