moby / buildkit

concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
https://github.com/moby/moby/issues/34227
Apache License 2.0
7.83k stars 1.09k forks source link

checks: warning for an invalid default arg in from #5102

Open jsternberg opened 3 days ago

jsternberg commented 3 days ago

A dockerfile should be valid when used with the default values for ARG and not require the use of --build-arg to function correctly. This checks that using the default values causes the images in FROM to be valid names.