From d85187aa445a55111adc664310ac656751534095 Mon Sep 17 00:00:00 2001 From: Jeremiah Rose Date: Tue, 7 Sep 2021 09:45:31 +1000 Subject: [PATCH] Use local source instead of redownloading in Dockerfile.build --- Dockerfile.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile.build b/Dockerfile.build index e7d2e6b5..426d3e11 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -3,9 +3,6 @@ # Need devel version cause we need /usr/include/cudnn.h FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 -ARG STT_REPO=https://github.com/coqui-ai/STT.git -ARG STT_SHA=origin/main - # >> START Install base software # Get basic packages @@ -112,12 +109,7 @@ RUN echo "build --spawn_strategy=standalone --genrule_strategy=standalone" \ # << END Configure Bazel WORKDIR / - -RUN git clone --recursive $STT_REPO STT -WORKDIR /STT -RUN git checkout $STT_SHA -RUN git submodule sync tensorflow/ -RUN git submodule update --init tensorflow/ +COPY . /STT/ # >> START Build and bind