shoutcast/Dockerfile

20 lines
438 B
Text
Raw Normal View History

FROM debian:stable
2014-11-14 14:58:36 +00:00
LABEL maintainer Knut Ahlers <knut@ahlers.me>
RUN set -ex \
&& mkdir -p \
/opt/shoutcast \
/var/log/shoutcast
2014-11-14 14:58:36 +00:00
WORKDIR /opt/shoutcast
ADD "http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz" /opt/shoutcast/
RUN set -ex \
&& tar -xzf sc_serv2_linux_x64-latest.tar.gz
2014-11-14 14:58:36 +00:00
VOLUME ["/etc/shoutcast"]
2014-11-16 11:04:24 +00:00
EXPOSE 8001 8002
CMD ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]