Add dependencies to build lxml successfully (#5288)

This commit is contained in:
Vladimir Blagojevic 2023-07-06 12:53:28 +02:00 committed by GitHub
parent fd25106c88
commit ad6072728d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,9 @@ ARG haystack_extras
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
git
git \
libxml2-dev \
libxslt1-dev
# Shallow clone Haystack repo, we'll install from the local sources
RUN git clone --depth=1 --branch=${haystack_version} https://github.com/deepset-ai/haystack.git /opt/haystack