You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run ./run-dev.sh (which subsequently runs ./build_image_layers.sh), there is an error about the BASE_IMAGE build arg:
Building /homes/elenius/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.ros2_humble as image: ros2_humble-image with base: x86_64-image
BASE_IMAGE_ARG is --build-arg BASE_IMAGE=x86_64-image
[+] Building 0.1s (27/27) FINISHED docker:default
=> [internal] load build definition from Dockerfile.ros2_humble 0.0s
=> => transferring dockerfile: 13.71kB 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG $BASE_IMAGE results in empty or invalid base image name (line 10) 0.0s
=> WARN: LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 17) 0.0s
=> [internal] load metadata for docker.io/library/x86_64-image:latest 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 276.05kB 0.0s
=> [stage-0 1/22] FROM docker.io/library/x86_64-image:latest 0.0s
(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 ce12230
When I run the same exact thing on another machine with docker Docker version 26.1.4, build 5650f9b, these warnings do not appear!
The text was updated successfully, but these errors were encountered:
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.
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 ce12230
When I run the same exact thing on another machine with docker Docker version 26.1.4, build 5650f9b, these warnings do not appear!
The text was updated successfully, but these errors were encountered: