Open delenius opened 2 weeks ago
Docker recently began being more insistent on the key value format. The BASE_IMAGE default argument is only really used for Dockerfile.x86_64 and Dockerfile.aarch64. For all of the remaining Dockerfiles for the downstream image layers, build_image_layers.sh feeds one image into the next using that argument, so its default value is never used.
Oh, I see, it complains because there is no default value, even when a value is passed. I slightly misread it.
When I run
./run-dev.sh
(which subsequently runs./build_image_layers.sh
), there is an error about theBASE_IMAGE
build arg:(and similarly for subsequent layers). Note that I added an echo of
BASE_IMAGE_ARG
in the script, the output of which is shown in the output above. Strangely enough, it still seems to find the right base image, even though there is no default value set in the Dockerfile. This machine has docker version Docker version 27.3.1, build ce12230When I run the same exact thing on another machine with docker Docker version 26.1.4, build 5650f9b, these warnings do not appear!