Skip to content

Commit

Permalink
Pin libexpat1 to avoid bug - see Chaste issue #249
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevans committed Apr 18, 2024
1 parent bd7880e commit 947d10e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ RUN apt-get update && \
graphviz && \
rm -rf /var/lib/apt/lists/*

# Fix libexpat1 version for jammy: https://github.com/Chaste/Chaste/issues/249
RUN apt-get install -y --allow-downgrades libexpat1=2.4.7-1 libexpat1-dev=2.4.7-1 && \
apt-mark hold libexpat1 libexpat1-dev && \
rm -rf /var/lib/apt/lists/*

# Update system to use Python3 by default
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
Expand Down

0 comments on commit 947d10e

Please sign in to comment.