• Joined on 2026-07-14

conjurer-radio (c8aae106)

Published 2026-07-28 11:39:08 +00:00 by gitea in gitea/conjurer

Installation

docker pull gitea.czernobog.pl/gitea/conjurer-radio:c8aae106
sha256:71efaedfed046b19b71096de6a8cab555e699304339d2d01345433a05f148a1f

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1783900800'
ARG OPAM_VERSION=2.1.5
ARG OCAML_VERSION=4.14.2
ARG LIQUIDSOAP_VERSION=2.1.4
ARG LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential m4 pkg-config git curl ca-certificates unzip rsync libpcre3-dev libgmp-dev zlib1g-dev libmad0-dev libmp3lame-dev libtag1-dev libpulse-dev libsamplerate0-dev libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev libswresample-dev libswscale-dev libpostproc-dev libcurl4-gnutls-dev ffmpeg pulseaudio pulseaudio-utils icecast2 jq python3 python3-flask python3-waitress python3-requests && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c useradd --system --create-home --home-dir /var/lib/radio --shell /usr/sbin/nologin radio && usermod -aG audio,pulse-access radio # buildkit
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c ARCH=$(uname -m) && curl -fsSL -o /usr/local/bin/opam "https://github.com/ocaml/opam/releases/download/${OPAM_VERSION}/opam-${OPAM_VERSION}-${ARCH}-linux" && chmod +x /usr/local/bin/opam # buildkit
ENV OPAMROOT=/opt/opam
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c opam init -y --bare --disable-sandboxing && opam switch create default "${OCAML_VERSION}" && opam install -y "liquidsoap.${LIQUIDSOAP_VERSION}" ${LIQ_OPAM_PACKAGES} && opam clean -a -c -s --logs # buildkit
ENV PATH=/opt/opam/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c liquidsoap --version # buildkit
COPY docker/pulse-system.pa /etc/pulse/system.pa # buildkit
WORKDIR /app
COPY conjurer_musician/radio_conjurer.liq ./radio_conjurer.liq # buildkit
COPY conjurer_musician/script.params ./script.params # buildkit
COPY conjurer_musician/stream.html ./stream.html # buildkit
COPY conjurer_betoniarka/betoniarka.py ./betoniarka.py # buildkit
COPY docker/icecast.xml.tpl ./icecast.xml.tpl # buildkit
COPY docker/entrypoint.radio.sh /usr/local/bin/entrypoint.sh # buildkit
RUN |4 OPAM_VERSION=2.1.5 OCAML_VERSION=4.14.2 LIQUIDSOAP_VERSION=2.1.4 LIQ_OPAM_PACKAGES=mad lame cry taglib pulseaudio samplerate inotify ffmpeg /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit
VOLUME [/srv/betoniarka/data /srv/betoniarka/music /srv/betoniarka/secrets]
EXPOSE map[5005/tcp:{} 54321/tcp:{} 8000/tcp:{} 9999/tcp:{}]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["liquidsoap" "/srv/betoniarka/data/radio_conjurer.liq"]
Details
Container
2026-07-28 11:39:08 +00:00
1
OCI / Docker
linux/amd64
640 MiB
Versions (2) View all
c2e6b8e6 2026-08-12
c8aae106 2026-07-28