From 3f8033e1f1aa84558d50bfd992d38ef5582dd500 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 18 Jun 2020 12:24:56 +0200 Subject: [PATCH] Add dependencies for new audio augmentation flags. Fixes #3082. --- Dockerfile.train.tmpl | 4 ++++ 1 file changed, 4 insertions(+) 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