Re:PhotoPrism: Browse Your Life in Pictures
by the_common_man on Tuesday July 11, 2023 @12:40PM
(#36683522)
dist upgrade in a Dockerfile?
[ Parent
| on HN ]
Re:PhotoPrism: Browse Your Life in Pictures
by wiredfool on Tuesday July 11, 2023 @12:50PM
(#36683685)
Yes. That just means upgrade and install extra required packages.
The nonsensical one would be do-release-upgrade.
Re:PhotoPrism: Browse Your Life in Pictures
by 411111111111111 on Tuesday July 11, 2023 @03:32PM
(#36686143)
They'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.