1a9c92b6db
Includes edge-node (FastAPI/MQTT/Discord voice), op25-container (SDR decoder), and icecast (audio streaming).
19 lines
439 B
Docker
19 lines
439 B
Docker
FROM debian:bookworm-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
icecast2 \
|
|
gettext-base \
|
|
gosu \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& id icecast 2>/dev/null || adduser --system --group --no-create-home icecast
|
|
|
|
COPY icecast.xml.template /etc/icecast2/icecast.xml.template
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|