RSSAmplifier

Blog

a (mostly) pointless blog

blog.vamc19.devRSS feed ↗2 posts

Latest posts

`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 267MB? Clearly I’m doing something wrong. But what? My…

Adventures in booting Linux on Raspberry Pi 4

Almost two months ago, I started building a four node Raspberry Pi 4 cluster for a project I’m working on. Figuring out the best way to get Linux on each node lead me down a rabbit hole and I spent the next four weeks yak shaving . The most common way to boot a Pi is from an SD card. But they are slow and unreliable - I don’t like them. Certain models of Pi 2 and Pi 3 support booting from…