Stale packages from layer cache
A Dockerfile has `RUN apt-get update` on one line and `RUN apt-get install -y curl` on the next. Weeks later a new package is added to the install line and the build fails with 404 errors from the mirror. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Ordering Dockerfile steps for cachingDevOps Engineer
- Image vs containerDevOps Engineer
- Smallest unit in KubernetesDevOps Engineer
- Why use a .dockerignore fileDevOps Engineer
- Container exits right after startDevOps Engineer
- Deployment and ReplicaSetDevOps Engineer
- Logs from a crashed containerDevOps Engineer
- Are Kubernetes Secrets encryptedDevOps Engineer