adding radio user
This commit is contained in:
@@ -2,10 +2,15 @@ FROM debian:latest as builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt-get install --yes icecast2 gettext
|
|
||||||
|
|
||||||
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
|
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install --yes icecast2 gettext
|
||||||
|
|
||||||
|
RUN useradd radio
|
||||||
|
RUN chown -R radio:radio /etc/icecast2 /var/log/icecast2
|
||||||
|
|
||||||
|
USER radio
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user