• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.

    By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)


  • A bit late but you might want to have a look at docker multi-stage build documentation which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:

    FROM someimage:sometag AS build
    [do stuff]
    FROM minimalimage:someothertag
    COPY --from=build /some/file /some/other/file
    [and so on]
    USER somebody
    CMD ["/path/somecommand"]
    

    Which will simplify building new images against newer “build” image newer tags easier.

    btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.





  • Recently I used testdisk/photorec to recover photos from a dead sd card. Made a small donation and sent a big thank you to the developer. As you said, sending appreciations and thanks for someone’s hard work is an important thing to do, and if applicable, small donations. Right now I’m quite ashamed I’ve never did the same for Vim while Bram was still alive, especially since Vim is one of the most important tools I daily use :/.


  • I use Vim since 31 years. Started in 1992, on Amiga with Fred Fish disks. I use Vim daily at work since 20 years. It’s like a second home for me, a familiar tool which makes me confident that it’ll help me manage whatever task I throw at it. I never had the pleasure to encounter Bram to tell him how much his work helped me throughout the years. I should have sent a “thank you for your hard work” mail when it was still possible. Now I can only send condolences. And some money to the ICCF. That’s the least I can do.