forked from wernerb/docker-bubbleupnpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (23 loc) · 1005 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Build: docker build --rm=true -t bubbleupnpserver .
# Run: docker run -d --net=host --privileged bubbleupnpserver
#from alpine:latest
FROM frolvlad/alpine-glibc
maintainer danbo
RUN set -ex && \
apk add --no-cache openjdk8-jre unzip wget #ffmpeg sox
#download bubbleupnpserver, ffmpeg and clean up
RUN mkdir -p /opt/bubbleupnpserver && \
cd /opt/bubbleupnpserver && \
wget -q http://www.bubblesoftapps.com/bubbleupnpserver/core/ffmpeg_linux.zip -O ffmpeg.zip && \
wget -q http://www.bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer-distrib.zip -O bubbleupnpserver.zip && \
unzip bubbleupnpserver.zip && \
unzip ffmpeg.zip && \
rm -rf bubbleupnpserver.zip ffmpeg.zip && \
chmod +x launch.sh
#copy launch file with newly added parameters
COPY launch.sh /opt/bubbleupnpserver/launch.sh
RUN chmod +x /opt/bubbleupnpserver/launch.sh
#the http and https and ssdp ports for bubbleupnpserver
EXPOSE 58050/tcp 58051/tcp 1900/udp
#launch
ENTRYPOINT ["/opt/bubbleupnpserver/launch.sh"]