Commit Graph

9 Commits

Author SHA1 Message Date
Collin J. Doering 1d3d3b47b3
Dockerfile: Adjust file permissions; add comments; tidy formatting 2024-01-01 23:18:40 -05:00
Collin J. Doering 8176119556
Dockerfile: Use CMD instead of ENTRYPOINT
This corrects ci behaviour, allowing this image to now be used like this:

docker run --rm -it guix-builder:latest <cmd>

Where <cmd> is any executable on the containers PATH.
2024-01-01 20:35:12 -05:00
Collin J. Doering 8359f98fe0
Dockerfile: Allow ssl to be used 2023-12-31 15:01:01 -05:00
Collin J. Doering 692577c025
Dockerfile: Set the env var GUIX_LOCALES to the now installed locales
* Makefile: Provide a symlink for the profiles lib/locale
2023-12-31 14:33:12 -05:00
Collin J. Doering 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
Collin J. Doering 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
Collin J. Doering ba31548ad5
CI: Cleanup Dockerfile and Makefile (following 5764deb) 2023-12-29 11:30:17 -05:00
Collin J. Doering d1b46ce129
Ensure /bin->/guix-builder/bin exists within the container 2023-12-28 20:55:50 -05:00
Collin J. Doering 75361f9a8a
Initial commit 2023-07-15 16:37:59 -04:00