From 40ee31c78492dacee591807495f9cf39588ccec6 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Sun, 24 May 2015 19:53:14 +0200 Subject: [PATCH] Install ffmpeg and lame packages --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f018dfd..b912802 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,11 @@ ENV CONTEXT_PATH / LABEL version="$SUBSONIC_VERSION" LABEL description="Subsonic media streamer" -RUN mkdir -p /opt/subsonic /opt/data /opt/music/ &&\ +RUN apt-get update &&\ + apt-get -y install ffmpeg lame &&\ + mkdir -p /opt/subsonic /opt/data/transcode /opt/music/ &&\ + ln -s /usr/bin/lame /opt/data/transcode/ &&\ + ln -s /usr/bin/ffmpeg /opt/data/transcode/ &&\ wget "http://downloads.sourceforge.net/project/subsonic/subsonic/$SUBSONIC_VERSION/subsonic-$SUBSONIC_VERSION-standalone.tar.gz?r=http%3A%2F%2Fwww.subsonic.org%2Fpages%2Fdownload2.jsp%3Ftarget%3Dsubsonic-$SUBSONIC_VERSION-standalone.tar.gz&ts=1431096340&use_mirror=garr" \ -O- --quiet | tar zxv -C /opt/subsonic