2018-12-21 01:13:20 +00:00
|
|
|
FROM debian:stable
|
2014-11-14 14:58:36 +00:00
|
|
|
|
2018-12-21 01:13:20 +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
|
|
|
|
|
2018-12-21 01:13:20 +00:00
|
|
|
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
|
2018-12-21 01:13:20 +00:00
|
|
|
CMD ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
|