Merge pull request #703 from minrk/lfs

add `git-lfs` to dockerfile used for the repo2docker image
pull/705/head
Tim Head 2019-06-17 10:14:00 +02:00 zatwierdzone przez GitHub
commit 0693fc0989
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 10 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

Wyświetl plik

@ -34,3 +34,8 @@
- name: 10.5281/zenodo.1211089
url: 10.5281/zenodo.1211089
verify: python2 -c 'import matplotlib'
# Test that files in git-lfs are properly cloned
- name: LFS
url: https://github.com/binderhub-ci-repos/lfs
ref: 9abf54a
verify: grep "I am stored in git lfs" in-lfs.dat