this post was submitted on 30 Jun 2024
616 points (93.1% liked)

Programmer Humor

19602 readers
950 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] undefined@links.hackliberty.org 7 points 4 months ago (2 children)

I had to step away from it because packages are just too old.

[–] Successful_Try543@feddit.org 2 points 4 months ago* (last edited 4 months ago) (1 children)

Have you considered using testing instead of stable or Siduction?

[–] undefined@links.hackliberty.org 4 points 4 months ago

I should be more clear: specifically I was rebuilding a Docker image based on Debian and needed Node.js for one build step, then Ruby for another as well as the final image.

In the Dockerfile there were a ton of weird commands for simply installing Node.js and Ruby whereas on Alpine Linux I could simply install the needed versions from apk. I understand it’s preferable to build these from scratch but in the case of Node.js I was looking to simply compile a bunch of assets then throw away the layer.

I could’ve spent a bunch of time figuring it out for Debian but I wanted a smaller image in the end anyway too.

[–] CanadaPlus@lemmy.sdf.org 2 points 4 months ago (1 children)

They are. You can get .debs through other sources quite often, though.

[–] undefined@links.hackliberty.org 6 points 4 months ago

This is what I specifically hate about building Docker images based on Debian. Half your Dockerfile ends up mucking about with third-party repositories, verifying keys, etc.