• 3 Posts
  • 34 Comments
Joined 11 months ago
cake
Cake day: August 3rd, 2023

help-circle






  • Desktop: Macintosh (<X) -> Windows (XP-10) w/occasional Ubuntu dual-boot (various DEs) -> Debian + Gnome

    Server: Ubuntu LTS -> Debian

    I’ve also had a number of used thinkpads over the years where I mostly ran Xubuntu and crunchbang.

    I still boot into Windows every month or so if I need to model something in Rhino (CAD). Couldn’t get it working in Wine and my 12 YO computer isn’t performant enough to run it in a VM. The last thread remaining and waiting to be cut…







  • Interesting, but if I have to use Windows then I would consider Conda depending on my dependency situation.

    I don’t particularly like Conda, or Windows, but what I like even less is manually finding wheels for my project. For something like GDAL, I wouldn’t even try on Windows without Conda. I think it’s also easy for a beginner to get up and running with this setup.

    My preferred setup is pyenv on Linux with poetry :)











  • Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?

    This is creative but not common approach to docker.

    Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.

    It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.

    In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.