4 ms·
At an previous employer i was able to cut down on the needed space by standartising the layers and adding a timelimit in which the tags were available. The base
by stop50 7mo ago
At an previous employer i was able to cut down on the needed space by standartising the layers and adding a timelimit in which the tags were available. The base images were build after we rolled out updates of packages and "encouraged" everyone to use those for their containers. These containers were also minified as much as needed(deduplicated files, removing useless stuff, ...), without sacrificing usability. I also used buildah to combine everything into an single layer to prevent removed files from wasting space. Sadly DNF blows up the images so it was hard to minify it much.
- a_t48 7mo agoSquashing the image means you end up duplicating all those files across images though, unless I'm misunderstanding.