diff --git a/Dockerfile b/Dockerfile index d160e2e..7a6396e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,11 +74,8 @@ COPY channels/ /root/.config/guix/ # Verify if the certificates exist and the version is correct (it is fixed to the channels.scm) RUN --security=insecure sh -c '/entry-point.sh guix pull && guix package --fallback -i nss-certs' \ && sh -c '/entry-point.sh guix gc && guix gc --optimize' \ - && [ -e /root/.guix-profile/etc/ssl/certs/ca-certificates.crt ] - -# TODO: Guix version command seems broken, re-enable this once it is solved -# \ -# && [ "`cat /root/.config/guix/channels.scm | grep commit | cut -d'"' -f 2`" = "`guix --version | head -n 1 | awk '{print $NF}'`" ] + && [ -e /root/.guix-profile/etc/ssl/certs/ca-certificates.crt ] \ + && [ "`cat /root/.config/guix/channels.scm | grep commit | cut -d'"' -f 2`" = "`guix --version | head -n 1 | awk '{print $NF}'`" ] ENTRYPOINT ["/entry-point.sh"] CMD ["sh"]