From 7d7fe76e410a1af15753f4cbf42e83b76426f6a9 Mon Sep 17 00:00:00 2001 From: viferga Date: Sun, 5 Apr 2020 11:18:08 -0800 Subject: [PATCH] Solve minor bug for migrations. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d2c280e..3b3e471 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,5 +74,8 @@ RUN --security=insecure /entry-point.sh guix gc --optimize \ && guix package --fallback -i \ nss-certs +# Clean the profile (avoids: https://www.mail-archive.com/help-guix@gnu.org/msg04836.html) +RUN rm -rf /var/guix/profiles/per-user/root/* + ENTRYPOINT ["/entry-point.sh"] CMD ["sh"]