guix-builder/Dockerfile

15 lines
412 B
Docker
Raw Normal View History

FROM scratch
2023-07-15 20:37:59 +00:00
ADD guix-tarball-pack.tar.gz /guix-builder
ADD links.tar.gz /
ADD passwd /etc/passwd
ADD passwd /tmp/proot/delete-me
2023-12-31 20:01:01 +00:00
ENV SSL_CERT_DIR=/etc/ssl/certs
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
ENV GUIX_LOCPATH=/guix-builder/lib/locale
ENV PROOT_TMP_DIR=/tmp/proot
RUN rm /tmp/proot/delete-me
2023-07-15 20:37:59 +00:00
VOLUME /var/guix/daemon-socket/socket /gnu/store /etc/ssl
ENTRYPOINT ["/guix-builder/bin/bash"]