Update image

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-21 02:13:20 +01:00
parent c050893db7
commit 5f3e9d738e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,18 +1,19 @@
FROM ubuntu:14.04
MAINTAINER Knut Ahlers <knut@ahlers.me>
FROM debian:stable
RUN mkdir /opt/shoutcast && \
mkdir /var/log/shoutcast
LABEL maintainer Knut Ahlers <knut@ahlers.me>
RUN set -ex \
&& mkdir -p \
/opt/shoutcast \
/var/log/shoutcast
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
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
VOLUME ["/etc/shoutcast"]
EXPOSE 8001 8002
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
CMD ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]