shoutcast/Dockerfile

19 lines
456 B
Text
Raw Normal View History

2014-11-14 14:58:36 +00:00
FROM ubuntu:14.04
MAINTAINER Knut Ahlers <knut@ahlers.me>
2014-11-14 15:21:05 +00:00
RUN mkdir /opt/shoutcast && \
mkdir /var/log/shoutcast
2014-11-14 14:58:36 +00:00
WORKDIR /opt/shoutcast
RUN apt-get update && \
apt-get install -y wget && \
wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz && \
tar -xzf sc_serv2_linux_x64-latest.tar.gz
VOLUME ["/etc/shoutcast"]
2014-11-16 11:04:24 +00:00
EXPOSE 8001 8002
2014-11-14 14:58:36 +00:00
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]