diff --git a/Dockerfile b/Dockerfile index 01b2283..2a64452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,8 +69,7 @@ RUN apk add --no-cache --update --virtual .build-deps shadow \ && chmod +x /entry-point.sh # Run pull (https://github.com/docker/buildx/blob/master/README.md#--allowentitlement) -RUN --security=insecure source $GUIX_PROFILE/etc/profile \ - && /root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & guix pull +RUN --security=insecure /entry-point.sh guix pull && guix package -i glibc-utf8-locales nss-certs ENTRYPOINT ["/entry-point.sh"] CMD ["sh"] diff --git a/scripts/entry-point.sh b/scripts/entry-point.sh index dbab5ea..846aef7 100755 --- a/scripts/entry-point.sh +++ b/scripts/entry-point.sh @@ -20,5 +20,5 @@ # source $GUIX_PROFILE/etc/profile -~root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & +/root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & exec "$@"