Skip to content

Commit

Permalink
Install libexpat to solve XML problems in python
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed May 7, 2024
1 parent c35c2cd commit c8b25f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ 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

# Make sure various scripts we use from Python packages are available
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 \
Expand Down

0 comments on commit c8b25f7

Please sign in to comment.