This commit is contained in:
2025-11-24 16:28:52 +00:00
parent f14cc26456
commit 773cebd620
4 changed files with 80 additions and 0 deletions

19
icecast2/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM debian:latest as builder
WORKDIR /app
RUN apt-get update \
&& apt-get install --yes icecast2 gettext media-types
# RUN apt-get install --yes liquidsoap
RUN useradd radio
RUN chown -R radio:radio /etc/icecast2 /var/log/icecast2
# RUN chown -R radio:radio /etc/liquidsoap /var/log/liquidsoap
USER radio
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
# COPY stream.liq.template /etc/liquidsoap/stream.liq.template
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]