diff --git a/docker/Dockerfile b/docker/Dockerfile index dbf19b0f1e06..470582fee0b3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -62,9 +62,15 @@ apt-get install -y \ bc \ curl \ git \ - libsndfile1 \ - libsox-fmt-all \ - sox + libsndfile1 +apt-get clean +EOF + +# Install Sox without libsox-fmt-ao and libsox-fmt-mp3 +RUN <<"EOF" bash -ex +apt-cache depends libsox-fmt-all \ + | awk '$1 == "Depends:" && $2 != "libsox-fmt-ao" && $2 != "libsox-fmt-mp3" && $2 !~ /^