From c8b25f7bb21070323f591f438432d0821eb2fe32 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Tue, 7 May 2024 10:57:25 +0200 Subject: [PATCH] Install libexpat to solve XML problems in python See: - https://github.com/hypothesis/report/issues/368 - https://github.com/jupyterhub/repo2docker-action/issues/113 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a58f22ca..08d49d72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ COPY --from=python /usr/local/bin/python3 /usr/local/bin/python3 COPY --from=python /usr/local/bin/python3.11 /usr/local/bin/python3.11 COPY --from=python /usr/local/bin/python /usr/local/bin/python -COPY --from=python /usr/local/lib/python3.11 /usr/local/lib/python3.11 +COPY --from=python /usr/local/lib/python3.11/ /usr/local/lib/python3.11/ COPY --from=python /usr/local/lib/libpython3.11.so.1.0 /usr/local/lib/libpython3.11.so.1.0 COPY --from=python /usr/local/lib/libpython3.so /usr/local/lib/libpython3.so @@ -31,7 +31,7 @@ COPY --from=python /usr/local/lib/libpython3.so /usr/local/lib/libpython3.so COPY --from=python /usr/local/bin/newrelic-admin /usr/local/bin/newrelic-admin # We need to install some package that are not present in the metabase image -RUN apk add libpq +RUN apk add libpq libexpat=2.6.2-r0 # Create the report user, group, home directory and package directory. RUN addgroup -S report \