Add dependencies for new audio augmentation flags. Fixes #3082.

This commit is contained in:
Daniel 2020-06-18 12:24:56 +02:00
parent b7fa0ade33
commit 3f8033e1f1

View File

@ -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