Fossil Forum

ckennedy 1 week, 3 days ago

Post: Fossil Dockerfile works with Windows wslc

Just a report that the stock Dockerfile builds and runs without issue using the just released Windows Subsystem for Linux Container engine (wslc). Just swap wslc for docker in the instructions.

wyoung 1 week, 3 days ago

Can I get you to try make CENGINE=wslc container-run on the latest trunk version? It's been tested under Podman and Apple Container, and while I haven't had Docker here on a dev box to test with ever since they decided they moved into $EXTRACTION phase, none of these changes should affect it as long as you're on a reasonably recent Docker Engine.

wyoung 1 week, 3 days ago

Edit reply: Fossil Dockerfile works with Windows wslc

wyoung 1 week ago

The 🦗 made me break down and try this myself. Film at 11, but the breaking news is that Windows remains a massive PITA:

  1. The simple command above first fails for lack of make.
  2. Solve that, and then it fails for lack of a proper shell to interpret the target commands.(^rm temporary file, redirect noise to /dev/null, Boolean command chaining…)
  3. Switch over to the MinGW64 shell to solve those. This will then surface build errors, now fixed on trunk.(^Those of you relying on MinGW builds should check this to see if I haven't traded one breakage for another!)
  4. That shell doesn't include C:\Program Files\WSL in its PATH even though it is in the default system PATH, and fixing it with export PATH=$PATH:'/c/Program Files/WSL' feels brittle due to the space.
  5. Having gotten this far, make CENGINE=wslc container-run still fails due to lack of --cap-drop.(^One optimistically expects they'll get around to adding this shortly.)

But finally, after nuking those lines from Makefile.in, yes, it does build and run the container.

Always remember, this is the easy OS. Do be assured, you will talk yourself into it eventually, despite mounting evidence of this type, and then everything will be fine. Fine, I say! 😜 Z 0ae73

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button