a (mostly) pointless blog personal blog

`COPY –chmod` reduced the size of my container image by 35%

Earlier this week, I was writing a Dockerfile to download and run a binary when I noticed the image size was way more than what I would expect. I’m using ubuntu:21.10 as the base image, which is about 70MB. The binary I’m running is about 80MB. Other packages I’m installing would add 10-ish MB. But the image size is…
Points
601
HN comments
160
Submissions
1
Cited by
0 commenters

Infrastructure & DevOpsTools & Productivity2022

On Hacker News

SubmittedTitle on HNPointsComments
Mar 26, 2022`COPY –chmod` reduced the size of my container image by 35% by unmole601160

Related posts from the same era