New docker pipeline.

This commit is contained in:
Charles
2025-09-22 22:37:57 +01:00
parent 6cd38c5093
commit a8e6148139
6 changed files with 147 additions and 175 deletions
+5 -4
View File
@@ -9,8 +9,8 @@ RUN apk -U add build-base git nasm pkgconf
RUN mkdir -p /ffmpeg_sources /ffmpeg_build
WORKDIR /ffmpeg_sources
ARG FFMPEG_BRANCH
RUN git clone --depth=1 -b "$FFMPEG_BRANCH" https://git.ffmpeg.org/ffmpeg.git
WORKDIR /ffmpeg_sources/ffmpeg
RUN git clone --depth=1 -b "$FFMPEG_BRANCH" https://github.com/FFmpeg/FFmpeg
WORKDIR /ffmpeg_sources/FFmpeg
RUN ./configure \
--prefix="/ffmpeg_build" \
--extra-libs="-lpthread -lm" \
@@ -146,8 +146,9 @@ RUN apk -U add \
mosquitto \
popt \
soxr \
curl && \
rm -rfv /lib/apk/db/* && \
curl
RUN rm -rfv /lib/apk/db/* && \
rm -rfv /etc/avahi/services/*.service && \
rm -rf /usr/share/man && \
addgroup shairport-sync && \
+1 -2
View File
@@ -3,10 +3,9 @@
services:
shairport-sync:
image: mikebrady/shairport-sync:latest
network_mode: host
network_mode: host # Required for AirPlay 2
restart: unless-stopped
# environment:
# S6_KEEP_ENV: 1 # Allow S6 to pass environment variables from compose file
# PULSE_SERVER: unix:/tmp/pulseaudio.socket # Path for PulseAudio socket
# PULSE_COOKIE: /tmp/pulseaudio.cookie # Path for PulseAudio cookie
# XDG_RUNTIME_DIR: /tmp # Path for pipewire