ci: Fix Dockerfile.base failing cause of missing git (#4210)

This commit is contained in:
Silvano Cerza 2023-02-20 18:40:30 +01:00 committed by GitHub
parent e6af353530
commit f5b8835e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG haystack_version
ARG haystack_extras
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git
# 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
WORKDIR /opt/haystack