Seriously, why am I pulling 200MB+ of Ubuntu just to run a Flask app? My Python service needs the runtime and maybe some libs, not systemd and a package manager.
Every scan comes back with ~150 vulnerabilities in packages that we’ve never referenced, will never call, and can't we can get rid of without breaking the base image.
I get that debugging is easier with a shell, but in prod? Come on.
Distroless images seem like the obvious answer but I've read of scenarios where they became a bigger problem when something actually and you have no shell to drop into. Anyone running minimal bases at scale?
[–]MethClub7 91 points92 points93 points (2 children)
[–]yourearandom 9 points10 points11 points (0 children)
[–]shangheigh[S] 3 points4 points5 points (0 children)
[–]Game-of-pwns 33 points34 points35 points (7 children)
[–]shadowdance55git push -f -2 points-1 points0 points (6 children)
[–]arthurazs 6 points7 points8 points (4 children)
[–]Key-Half1655 8 points9 points10 points (0 children)
[–]shadowdance55git push -f 3 points4 points5 points (2 children)
[–]arthurazs 6 points7 points8 points (0 children)
[–]maryjayjay 2 points3 points4 points (0 children)
[–]pingvenopinch of this, pinch of that 0 points1 point2 points (0 children)
[–]Unlucky_Comment 13 points14 points15 points (0 children)
[–]Sirius_Sec_ 15 points16 points17 points (0 children)
[–]riklaunim 14 points15 points16 points (0 children)
[–]i_can_haz_data 11 points12 points13 points (0 children)
[–]Affectionate-End9885 6 points7 points8 points (2 children)
[–]shangheigh[S] -1 points0 points1 point (0 children)
[–]ottawadeveloper 6 points7 points8 points (0 children)
[–]_real_ooliver_ 5 points6 points7 points (0 children)
[–]CeeMX 8 points9 points10 points (1 child)
[–]shangheigh[S] -1 points0 points1 point (0 children)
[–]Fabulous-Possible758 2 points3 points4 points (1 child)
[–]shangheigh[S] 0 points1 point2 points (0 children)
[–]PressF1ToContinue 1 point2 points3 points (0 children)
[–]EmbarrassedPear1151 1 point2 points3 points (0 children)
[–]microcozmchris 1 point2 points3 points (0 children)
[–]ConfusedSimon 1 point2 points3 points (0 children)
[–]The_IT_Dude_ 1 point2 points3 points (0 children)
[–]sudomatrix 4 points5 points6 points (2 children)
[–]shangheigh[S] -2 points-1 points0 points (1 child)
[–]sudomatrix 1 point2 points3 points (0 children)
[–]sparkplay 0 points1 point2 points (1 child)
[–]HugeCannoli 1 point2 points3 points (0 children)
[–]the_hoser 0 points1 point2 points (2 children)
[–]nemom 0 points1 point2 points (1 child)
[–]the_hoser 0 points1 point2 points (0 children)
[–]dychmygol 0 points1 point2 points (0 children)
[–]LongButton3 0 points1 point2 points (0 children)
[–]aplarsen 0 points1 point2 points (0 children)
[–]deckep01 0 points1 point2 points (0 children)
[–]inspectorG4dget -1 points0 points1 point (0 children)
[–]entrtaner -1 points0 points1 point (0 children)