Commit Graph

5 Commits

Author SHA1 Message Date
86f051167b
Correct hidden dependency on host /gnu/store
Unbeknownst to me, the docker image produced by previous versions of guix-builder actually
had a hidden dependency on the hosts /gnu/store. I have not been able to fully characterize
it, but the following proves it to be true.

This fails with an error 139, segfault:
  docker run -it guix-builder:latest

However it succeeds when provided the hosts guix store:
  docker run -it -v /gnu/store:/gnu/store:ro guix-builder:latest

By using GUIX_EXECUTION_ENGINE=proot (which is implied by the '-RR' option to 'guix pack'),
we avoid the segfaults and hidden dependency on the hosts /gnu/store. Sadly using proot will
have performance impacts, but I'm not sure yet to what extent this will impact my usecase.
2023-12-29 21:32:46 -05:00
f2786e17ae
Place /etc/passwd file inside the container for root user
This is needed because ssh requires the user that runs it to exist in /etc/passwd.
2023-12-29 12:03:48 -05:00
ba31548ad5
CI: Cleanup Dockerfile and Makefile (following 5764deb) 2023-12-29 11:30:17 -05:00
d1b46ce129
Ensure /bin->/guix-builder/bin exists within the container 2023-12-28 20:55:50 -05:00
75361f9a8a
Initial commit 2023-07-15 16:37:59 -04:00