summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTAKAHASHI Shuuji2022-12-06 02:37:53 +0900
committerGitHub2022-12-05 10:37:53 -0700
commitdd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7 (patch)
tree2f2f7a6a20004e288a4ddea3ac15c569ce114390
parent7acf3b42193fce6bdd543e683bd7ad14d8de562f (diff)
downloadtakahe-dd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7.tar.gz
takahe-dd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7.tar.bz2
takahe-dd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7.zip
Add missing dependencies for the arm64 build (#111)
-rw-r--r--docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 274cb02..7219149 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -6,6 +6,7 @@ FROM ${IMAGE_HOST}:${IMAGE_LABEL}
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libpq5 \
+ libxslt1.1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt requirements.txt
@@ -15,11 +16,16 @@ RUN apt-get update \
gcc \
libc6-dev \
libpq-dev \
+ # Required to build lxml on arm64.
+ libxslt1-dev \
+ zlib1g-dev \
&& python3 -m pip install --upgrade -r requirements.txt \
&& apt-get purge -y --auto-remove \
gcc \
libc6-dev \
libpq-dev \
+ libxslt1-dev \
+ zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . /takahe