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 FROM debian:stable
MAINTAINER Knut Ahlers <knut@ahlers.me>
RUN mkdir /opt/shoutcast && \ LABEL maintainer Knut Ahlers <knut@ahlers.me>
mkdir /var/log/shoutcast
RUN set -ex \
&& mkdir -p \
/opt/shoutcast \
/var/log/shoutcast
WORKDIR /opt/shoutcast WORKDIR /opt/shoutcast
RUN apt-get update && \ ADD "http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz" /opt/shoutcast/
apt-get install -y wget && \ RUN set -ex \
wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz && \ && tar -xzf sc_serv2_linux_x64-latest.tar.gz
tar -xzf sc_serv2_linux_x64-latest.tar.gz
VOLUME ["/etc/shoutcast"] VOLUME ["/etc/shoutcast"]
EXPOSE 8001 8002 EXPOSE 8001 8002
CMD ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]