News for hackers. Stuff that matters.
Re:Using ARG in a Dockerfile – beware the gotcha by gorgoiler on Tuesday May 14, 2024 @06:44AM (#40353716)
That seems like a perfectly good idiom and it’s fantastic to hear that Dockerfiles support heredocs — I had no idea, thank you!

https://www.docker.com/blog/introduction-to-heredocs-in-dock...

It would still be possible to accidentally reference uninitialized environment variables in contexts other than RUN though. Having those be treated as errors would be useful.

There are no comments on this comment yet.