Skip to content

Commit 9826613

Browse files
pi-sigmaswrichards
authored andcommitted
fix: remove xml-related packages from Docker build
When libxml is installed (which it is through installing libxml2-dev), then pip compiles lxml from source against the system libxml. This has caused a mismatch between the system libxml available at runtime and the libxml that lxml was compiled against during the build stage. Without libxml on the system, pip falls back on pre-built binary wheels, which have their own version of libxml built in. Refs: https://taiga.maykinmedia.nl/project/maykin-intranet/issue/1169
1 parent 430fdb2 commit 9826613

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
1212
build-essential \
1313
git \
1414
libpq-dev \
15-
libxml2-dev \
16-
libxmlsec1-dev \
1715
libxmlsec1-openssl \
1816
libgdk-pixbuf2.0-0 \
1917
libffi-dev \
@@ -68,7 +66,6 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
6866
libgdal32 \
6967
libgeos-c1v5 \
7068
libproj25 \
71-
libxmlsec1-dev \
7269
libxmlsec1-openssl \
7370
libgdk-pixbuf2.0-0 \
7471
libffi-dev \

0 commit comments

Comments
 (0)