Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › Chapter 52: Dockerfile Instructions Explained: FROM, RUN, CMD vs ENTRYPOINT, COPY vs ADD, Multi-Stage and BuildKit

Why combine apt-get update and install?

Why combine apt-get update and install? Separate layers cache an old update, so later installs fail or get stale packages. One RUN keeps them in sync and lets you clean lists.

Why combine apt-get update and install? Separate layers cache an old update, so later installs fail or get stale packages. One RUN keeps them in sync and lets you clean lists.
Download PNG

Lesson: 52.2 RUN: shell form, exec form, layers and cache cleanup · मराठी card