Skip to content

Commit

Permalink
DOCKER:STABLE fix emby install
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Hernandez committed Jun 2, 2017
1 parent e4c59dd commit 76b67f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker-containers/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ ENV APP_NAME="emby-server" IMG_NAME="embyserver" TAG_NAME="${ARCH}" EDGE=0 UMASK

RUN VERSION=$(curl -sL https://github.com/mediaBrowser/Emby/releases.atom | grep -A 1 -e 'link.*alternate' | grep -e ' <' | sed 'N;s/\n/ /' | grep -v 'beta' | head -1 | sed 's%.*/tag/\([^"]*\).*%\1%') \
&& echo "Downloading version: $VERSION" \
&& curl -o /var/tmp/emby.zip -L https://github.com/MediaBrowser/Emby/releases/download/${VERSION}/Emby.Mono.zip \
&& rm -rf /var/tmp/emby.zip \
&& curl -o /var/tmp/emby.zip -L https://github.com/MediaBrowser/Emby/releases/download/$VERSION/Emby.Mono.zip \
&& rm -rf /usr/lib/emby-server/bin \
&& mkdir -p /usr/lib/emby-server/bin \
&& unzip /var/tmp/emby.zip -d /usr/lib/emby-server/bin
&& unzip /var/tmp/emby.zip -d /usr/lib/emby-server/bin \
&& rm -rf /var/tmp/emby.zip \

VOLUME [ "/config" ]
EXPOSE 8096 8920 7359/udp 1900/udp
Expand Down

0 comments on commit 76b67f4

Please sign in to comment.