mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
24 lines
470 B
Docker
24 lines
470 B
Docker
#
|
|
# Dockerfile for shoutcast
|
|
#
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER kev <noreply@easypi.pro>
|
|
|
|
WORKDIR /opt/shoutcast
|
|
|
|
RUN set -xe \
|
|
&& apt-get update \
|
|
&& apt-get install -y curl \
|
|
&& curl http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz | tar xz \
|
|
&& mkdir -p control logs \
|
|
&& apt-get purge --auto-remove -y curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY sc_serv.conf .
|
|
|
|
EXPOSE 8000 8001
|
|
|
|
CMD ["./sc_serv", "sc_serv.conf"]
|