Hi guys
Please how to upgrade (pull locally is any updates) all the base images (FROM) within the Dockerfile without manually reading/parsing it and invoking docker pul manually-resolved-image
.
The most close seems to use docker build --no-cache
. Still it looks really to update meta for the image but the image it self is till cached
#1 [internal] load build definition from Dockerfile.webui
#1 transferring dockerfile: 166B done
#1 DONE 0.0s
#2 [internal] load metadata for ghcr.io/some/base-image:main
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [1/2] FROM ghcr.io/some/base-image:main
#4 CACHED
Maybe this means there were no updates to the image yet docker images says the image is 2 months ago
old. I doubt it could really be that rotten.
So how to pull all the base images from the Dockerfile explicitly or while the docker build
invocation.
Thank you.