Use root...

This commit is contained in:
Knut Ahlers 2014-11-14 16:21:05 +01:00
parent 6d7346d9a5
commit 1bd17566de

View File

@ -1,10 +1,8 @@
FROM ubuntu:14.04
MAINTAINER Knut Ahlers <knut@ahlers.me>
RUN useradd -m shoutcast && \
mkdir /opt/shoutcast && \
mkdir /var/log/shoutcast && \
chown shoutcast /var/log/shoutcast
RUN mkdir /opt/shoutcast && \
mkdir /var/log/shoutcast
WORKDIR /opt/shoutcast
@ -17,5 +15,4 @@ VOLUME ["/etc/shoutcast"]
EXPOSE 8000
USER shoutcast
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]