New docker pipeline.
This commit is contained in:
+5
-4
@@ -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 && \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user