make git lfs optinal
This commit is contained in:
parent
f5bb103f88
commit
2050aa4cf6
17
Dockerfile
17
Dockerfile
@ -5,13 +5,6 @@ FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
|
|||||||
|
|
||||||
# >> START Install base software
|
# >> START Install base software
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
software-properties-common \
|
|
||||||
curl
|
|
||||||
|
|
||||||
RUN add-apt-repository ppa:git-core/ppa && \
|
|
||||||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
|
||||||
|
|
||||||
# Get basic packages
|
# Get basic packages
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
@ -42,8 +35,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
openjdk-8-jdk \
|
openjdk-8-jdk \
|
||||||
bash-completion \
|
bash-completion \
|
||||||
g++ \
|
g++ \
|
||||||
unzip \
|
unzip
|
||||||
git-lfs
|
|
||||||
|
|
||||||
RUN ln -s -f /usr/bin/python3 /usr/bin/python
|
RUN ln -s -f /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
@ -146,7 +138,14 @@ ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64:/usr/loc
|
|||||||
|
|
||||||
# Copy DeepSpeech repo contents to container's /DeepSpeech
|
# Copy DeepSpeech repo contents to container's /DeepSpeech
|
||||||
COPY . /DeepSpeech/
|
COPY . /DeepSpeech/
|
||||||
|
|
||||||
# Alternative clone from GitHub
|
# Alternative clone from GitHub
|
||||||
|
# RUN apt-get update && apt-get install -y \
|
||||||
|
# software-properties-common \
|
||||||
|
# curl
|
||||||
|
# RUN add-apt-repository ppa:git-core/ppa && \
|
||||||
|
# curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
||||||
|
# RUN apt-get update && apt-get install -y git-lfs
|
||||||
# WORKDIR /
|
# WORKDIR /
|
||||||
# RUN git clone https://github.com/mozilla/DeepSpeech.git
|
# RUN git clone https://github.com/mozilla/DeepSpeech.git
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user