---> 790dcbffd65f
Step 2/3 : RUN apt-get update
---> Using cache
---> a9dadec81fda
Step 3/3 : RUN apt-get upgrade
---> Running in b0261d077b68
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
This is especially useful when attempting to upgrade packages within an image, having previously built an image ...
I appreciate that I could've just deleted the existing images using docker rmi XXXXXXXX but this is a differently easier option: -
docker build --no-cache -t ubuntu -f Dockerfile .
With thanks to this: -
No comments:
Post a Comment