On 7/19/21 10:55 AM, Ed Santiago wrote:
I don't grok the 'FROM ... AS' usage, so I can't have
an expert
opinion, but yeah, the 'base' thing confused me for several minutes.
Filing an issue SGTM.
FYI: The 'as' part gives a temporary(?) name to an intermediate output
image. This output may then be referenced as the base-image in further
`FROM` or `COPY` lines in the Dockerfile. In other words, it gives you
a bit more control over cache and/or helps when building multiple images
in a single Dockerfile.
So...this temporary(?) name should never, ever, ever be pulled from a
remote registry server. It's a local-only name.
Opened
https://github.com/containers/buildah/issues/3392
TBH, I have no idea how this flaked. I'm not able to reproduce the
failure, even when restoring to shenanigans like wiping out container
storage mid-build.
--
Chris Evich (he/him), RHCA III
Senior Quality Assurance Engineer
My personal robot overlord told me to include this signature line.