diff --git a/Dockerfile.train.tmpl b/Dockerfile.train.tmpl index 6243c575..426a80f8 100644 --- a/Dockerfile.train.tmpl +++ b/Dockerfile.train.tmpl @@ -1,6 +1,7 @@ # Please refer to the TRAINING documentation, "Basic Dockerfile for training" FROM tensorflow/tensorflow:1.15.2-gpu-py3 +ARG DEBIAN_FRONTEND=noninteractive ENV DEEPSPEECH_REPO=#DEEPSPEECH_REPO# ENV DEEPSPEECH_SHA=#DEEPSPEECH_SHA# @@ -22,6 +23,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # weird errors about setuptools RUN apt-get purge -y python3-xdg +# Install dependencies for audio augmentation +RUN apt-get install -y --no-install-recommends libopus0 libsndfile1 + WORKDIR / RUN git lfs install RUN git clone $DEEPSPEECH_REPO