mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
Add missing dependencies for the arm64 build (#111)
This commit is contained in:
parent
7acf3b4219
commit
dd8e823d2f
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,7 @@ FROM ${IMAGE_HOST}:${IMAGE_LABEL}
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
libpq5 \
|
libpq5 \
|
||||||
|
libxslt1.1 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
|
@ -15,11 +16,16 @@ RUN apt-get update \
|
||||||
gcc \
|
gcc \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
# Required to build lxml on arm64.
|
||||||
|
libxslt1-dev \
|
||||||
|
zlib1g-dev \
|
||||||
&& python3 -m pip install --upgrade -r requirements.txt \
|
&& python3 -m pip install --upgrade -r requirements.txt \
|
||||||
&& apt-get purge -y --auto-remove \
|
&& apt-get purge -y --auto-remove \
|
||||||
gcc \
|
gcc \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
libxslt1-dev \
|
||||||
|
zlib1g-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY . /takahe
|
COPY . /takahe
|
||||||
|
|
Loading…
Reference in a new issue