mirror of
https://github.com/luzifer-docker/shoutcast.git
synced 2024-11-09 11:40:03 +00:00
Update image
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c050893db7
commit
5f3e9d738e
1 changed files with 11 additions and 10 deletions
21
Dockerfile
21
Dockerfile
|
@ -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"]
|
|
||||||
|
|
Loading…
Reference in a new issue