removing liquidsoap from icecast serv
This commit is contained in:
@@ -5,12 +5,15 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install --yes icecast2 gettext media-types
|
&& apt-get install --yes icecast2 gettext media-types
|
||||||
|
# RUN apt-get install --yes liquidsoap
|
||||||
|
|
||||||
RUN useradd radio
|
RUN useradd radio
|
||||||
RUN chown -R radio:radio /etc/icecast2 /var/log/icecast2
|
RUN chown -R radio:radio /etc/icecast2 /var/log/icecast2
|
||||||
|
# RUN chown -R radio:radio /etc/liquidsoap /var/log/liquidsoap
|
||||||
USER radio
|
USER radio
|
||||||
|
|
||||||
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
|
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
|
||||||
|
# COPY stream.liq.template /etc/liquidsoap/stream.liq.template
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ set -e
|
|||||||
|
|
||||||
# Substitute environment variables into template
|
# Substitute environment variables into template
|
||||||
envsubst < /etc/icecast2/icecast.xml.template > /etc/icecast2/icecast.xml
|
envsubst < /etc/icecast2/icecast.xml.template > /etc/icecast2/icecast.xml
|
||||||
|
# envsubst < /etc/liquidsoap/stream.liq.template > /etc/liquidsoap/stream.liq
|
||||||
|
|
||||||
# Run icecast with the generated config
|
# Run icecast with the generated config
|
||||||
exec icecast2 -c /etc/icecast2/icecast.xml
|
exec icecast2 -c /etc/icecast2/icecast.xml
|
||||||
|
# exec liquidsoap /etc/liquidsoap/stream.liq
|
||||||
|
# wait -n
|
||||||
|
|||||||
Reference in New Issue
Block a user