Explicitly name repository clone target in Dockerfiles

This commit is contained in:
Reuben Morais 2020-08-25 16:09:08 +02:00
parent d1c964c5d5
commit 8f2c1e842a
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ RUN echo "build --spawn_strategy=standalone --genrule_strategy=standalone" \
WORKDIR / WORKDIR /
RUN git clone --recursive $DEEPSPEECH_REPO RUN git clone --recursive $DEEPSPEECH_REPO DeepSpeech
WORKDIR /DeepSpeech WORKDIR /DeepSpeech
RUN git checkout $DEEPSPEECH_SHA RUN git checkout $DEEPSPEECH_SHA
RUN git submodule sync tensorflow/ RUN git submodule sync tensorflow/

View File

@ -31,7 +31,7 @@ RUN apt-get install -y --no-install-recommends libopus0 libsndfile1
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
WORKDIR / WORKDIR /
RUN git clone $DEEPSPEECH_REPO RUN git clone $DEEPSPEECH_REPO DeepSpeech
WORKDIR /DeepSpeech WORKDIR /DeepSpeech
RUN git checkout $DEEPSPEECH_SHA RUN git checkout $DEEPSPEECH_SHA