needed for cloning repos with files stored in LFS
pull/703/head
Min RK 2019-06-13 13:46:29 +02:00
rodzic f19e159dfe
commit ee93bcf1a6
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -12,8 +12,11 @@ RUN mkdir /tmp/wheelhouse \
FROM python:${PYTHON_VERSION}-slim
# we do need git, though
RUN apt-get update \
&& apt-get -y install --no-install-recommends git \
# git-lfs is in backports
ARG DEB_RELEASE=stretch
RUN echo "deb http://deb.debian.org/debian ${DEB_RELEASE}-backports main" > /etc/apt/sources.list.d/backports.list \
&& apt-get update \
&& apt-get -t ${DEB_RELEASE}-backports -y install --no-install-recommends git git-lfs \
&& rm -rf /var/lib/apt/lists/*
# install repo2docker