grim/docker-bubbleupnpserver
Clone
Summary
Browse
Changes
Graph
Update to use alpine
2016-05-04, Gary Kramlich
f0b002086abc
Parents
ea9d37eb8d47
Children
f7dcd57482bb
Update to use alpine
2 files changed, 15 insertions(+), 23 deletions(-)
+12
-19
Dockerfile
+3
-4
README.md
--- a/Dockerfile Thu Mar 19 20:32:22 2015 -0500
+++ b/Dockerfile Wed May 04 19:43:13 2016 -0500
@@ -1,24 +1,17 @@
-FROM debian:wheezy
+FROM gliderlabs/alpine:latest
-RUN apt-get update && \
- apt-get install -y --no-install-recommends wget openjdk-7-jre-headless unzip && \
- wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2014.2_all.deb && \
- dpkg -i deb-multimedia-keyring_2014.2_all.deb && \
- rm -f deb-multimedia-keyring_2014.2_all.deb && \
- echo deb http://www.deb-multimedia.org wheezy main non-free > /etc/apt/sources.list.d/deb-multimedia.list && \
- echo deb http://www.deb-multimedia.org wheezy-backports main >> /etc/apt/sources.list.d/deb-multimedia.list && \
- apt-get update && \
- apt-get install -y ffmpeg && \
- mkdir /bubbleupnpserver && \
- cd /bubbleupnpserver && \
- wget http://www.bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer-distrib.zip && \
- unzip BubbleUPnPServer-distrib.zip && \
- chmod +x launch.sh && \
- rm BubbleUPnPServer-distrib.zip && \
- apt-get remove --purge -y wget unzip && \
- rm -rf /var/lib/apt/lists/*
+RUN set -ex && \
+ apk add --no-cache openjdk8-jre unzip wget ffmpeg sox
EXPOSE 58050/tcp 58051/tcp 1900/udp
-ENTRYPOINT ["/bubbleupnpserver/launch.sh"]
+CMD ["/bubbleupnpserver/launch.sh"]
+RUN set -ex && \
+ mkdir /bubbleupnpserver && \
+ cd /bubbleupnpserver && \
+ wget http://www.bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer-distrib.zip && \
+ unzip BubbleUPnPServer-distrib.zip && \
+ chmod +x launch.sh && \
+ rm BubbleUPnPServer-distrib.zip
+
--- a/README.md Thu Mar 19 20:32:22 2015 -0500
+++ b/README.md Wed May 04 19:43:13 2016 -0500
@@ -14,9 +14,8 @@
To run:
- docker run -P --net=host rwgrim/docker-bubbleupnpserver
+ docker run --net=host rwgrim/docker-bubbleupnpserver
-The -P is probably not necessary since it's running in host mode, but I haven't
-tried it. You need to run with host networking so that it can find the
-UPnP/DLNA servers on your network.
+You need to run with host networking so that it can find the UPnP/DLNA servers
+on your network.