Files
adamfandClaude Opus 5.5 4530cb8dc4
Test and deploy / test (push) Successful in 28s
Test and deploy / deploy (push) Successful in 31s
Trim comments to the non-obvious why
Drop narration, history and restated-code comments across the repo,
keep short ones for security boundaries, upstream quirks and ordering
constraints, and record the convention in CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 20:49:03 +00:00

16 lines
645 B
Docker

# liquidsoap base (the hard one to install) plus icecast2. media-types gives
# icecast correct content types. Both daemons run as `radio`, hence chroot 0.
FROM savonet/liquidsoap:v2.3.2
USER root
RUN apt-get update \
&& apt-get install --yes icecast2 gettext media-types \
&& rm -rf /var/lib/apt/lists/*
RUN useradd radio
RUN mkdir -p /music /etc/liquidsoap
RUN chown -R radio:radio /etc/icecast2 /var/log/icecast2 /music /etc/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" ]