-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
25 lines (19 loc) · 877 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
# Build: docker build --rm=true -t bubbleupnpserver .
# Run: docker run -d --net=host --privileged bubbleupnpserver
from dockeruser/oracle-java7
maintainer Werner Buck "email@wernerbuck.nl"
#install unzip and wget
RUN apt-get update && apt-get install -y unzip wget
#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
#the http and https and ssdp ports for bubbleupnpserver
EXPOSE 58050/tcp 58051/tcp 1900/udp
#launch
ENTRYPOINT ["/opt/bubbleupnpserver/launch.sh"]