https://github.com/nextjournal/guix-docker
Dockerfile for GNU Guix
https://github.com/nextjournal/guix-docker
Last synced: 5 months ago
JSON representation
Dockerfile for GNU Guix
- Host: GitHub
- URL: https://github.com/nextjournal/guix-docker
- Owner: nextjournal
- License: gpl-3.0
- Created: 2017-04-07T15:35:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T15:41:13.000Z (about 9 years ago)
- Last Synced: 2025-02-16T15:06:20.757Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# guix-docker
Dockerfile for GNU Guix
Rest of the readme and the Dockerfile copied from: https://github.com/bmpvieira/Dockerfiles
Licensed under the GNU General Public License version 3 or later. Some of the code/docs are under the MIT license.
# Guix
Guix requires ```--privileged``` to run.
```bash
docker run -ti --privileged bmpvieira/guix:pull
guix-daemon --build-users-group=guix-builder &
guix pull
```
[Guix pull](https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-pull.html) takes a while and [cannot be added to the Dockerfile](https://github.com/docker/docker/issues/1916) since it requires ```--privileged```. However, you can fetch a Docker image pushed to the [Docker hub](https://hub.docker.com/r/bmpvieira/guix/tags/) after this step was already performed by using the tag ```pull```.
```bash
docker run -ti --privileged bmpvieira/guix:pull
```