15 lines
412 B
Docker
15 lines
412 B
Docker
FROM scratch
|
|
ADD guix-tarball-pack.tar.gz /guix-builder
|
|
ADD links.tar.gz /
|
|
ADD passwd /etc/passwd
|
|
ADD passwd /tmp/proot/delete-me
|
|
|
|
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
|
|
|
|
VOLUME /var/guix/daemon-socket/socket /gnu/store /etc/ssl
|
|
ENTRYPOINT ["/guix-builder/bin/bash"]
|