-
Notifications
You must be signed in to change notification settings - Fork 465
DL3008
Mahyar Mirrashed edited this page Sep 6, 2024
·
5 revisions
FROM busybox
RUN apt-get install python
FROM busybox
RUN apt-get install python=2.7.*
https://docs.docker.com/develop/develop-images/instructions/#apt-get
Version pinning forces the build to retrieve a particular version regardless of what’s in the cache. This technique can also reduce failures due to unanticipated changes in required packages.