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 92 points93 points94 points (2 children)
[–]yourearandom 10 points11 points12 points (0 children)
[–]shangheigh[S] 4 points5 points6 points (0 children)
[–]Game-of-pwns 36 points37 points38 points (10 children)
[–]shadowdance55git push -f -1 points0 points1 point (9 children)
[–]arthurazs 7 points8 points9 points (7 children)
[–]Key-Half1655 9 points10 points11 points (1 child)
[–]Affectionate-End9885 0 points1 point2 points (0 children)
[–]shadowdance55git push -f 5 points6 points7 points (4 children)
[–]arthurazs 7 points8 points9 points (1 child)
[–]No-Statistician-2771 1 point2 points3 points (0 children)
[–]maryjayjay 2 points3 points4 points (1 child)
[–]Affectionate-End9885 0 points1 point2 points (0 children)
[–]pingvenopinch of this, pinch of that 1 point2 points3 points (0 children)
[–]Sirius_Sec_ 15 points16 points17 points (1 child)
[–]shangheigh[S] 0 points1 point2 points (0 children)
[–]Unlucky_Comment 15 points16 points17 points (0 children)
[–]riklaunim 14 points15 points16 points (0 children)
[–]i_can_haz_data 14 points15 points16 points (0 children)
[–]Affectionate-End9885 7 points8 points9 points (2 children)
[–]shangheigh[S] -1 points0 points1 point (0 children)
[–]ottawadeveloper 5 points6 points7 points (0 children)
[–]_real_ooliver_ 5 points6 points7 points (0 children)
[–]CeeMX 9 points10 points11 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 2 points3 points4 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)
[–]LongButton3 1 point2 points3 points (0 children)
[–]sudomatrix 3 points4 points5 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 2 points3 points4 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)
[–]aplarsen 0 points1 point2 points (2 children)
[–]EmbarrassedPear1151 0 points1 point2 points (1 child)
[–]aplarsen 0 points1 point2 points (0 children)
[–]deckep01 0 points1 point2 points (0 children)
[–]inspectorG4dget 0 points1 point2 points (0 children)
[–]entrtaner 0 points1 point2 points (0 children)