mirror of
https://github.com/luzifer-docker/shoutcast.git
synced 2024-12-20 06:01:18 +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
|
||||
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"]
|
||||
|
|
Loading…
Reference in a new issue