3 ms·
dist upgrade in a Dockerfile?
by the_common_man 3y ago
dist upgrade in a Dockerfile?
- wiredfool 3y agoYes. That just means upgrade and install extra required packages. The nonsensical one would be do-release-upgrade.
- 411111111111111 3y agoThey're both kinda dumb though. Updating will create a new layer, but the old binaries will still be a part of the image as part of the history. The only correct way is to either rebuild the base image from scratch or just fetch a new base image. My suggestion would be the latter, just run docker pull again for the baseimage and use that, without running update.