Update Dockerfiles

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-02-01 14:10:06 +01:00
parent a6c66db276
commit bea0faf488
51 changed files with 56 additions and 29 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
FROM alpine:3.12 AS builder
FROM alpine:3.17 AS builder
# Check required arguments exist. These will be provided by the Github Action
# Workflow and are required to ensure the correct branches are being used.
@@ -26,7 +26,6 @@ RUN apk -U add \
ffmpeg-dev \
xxd \
libressl-dev \
openssl-dev \
libplist-dev
##### ALAC #####
@@ -66,7 +65,7 @@ WORKDIR /
##### SPS END #####
# Shairport Sync Runtime System
FROM crazymax/alpine-s6:3.12-3.1.1.2
FROM crazymax/alpine-s6:3.17-3.1.1.2
RUN apk -U add \
alsa-lib \
@@ -83,6 +82,7 @@ RUN apk -U add \
ffmpeg \
libsodium \
libgcrypt \
libressl3.6-libcrypto \
libplist \
mandoc \
man-pages \
@@ -100,7 +100,7 @@ COPY --from=builder /shairport-sync/build/install/etc/dbus-1/system.d/shairport-
COPY --from=builder /shairport-sync/build/install/etc/dbus-1/system.d/shairport-sync-mpris.conf /etc/dbus-1/system.d/
COPY ./docker/etc/s6-overlay/s6-rc.d /etc/s6-overlay/s6-rc.d
RUN chmod +x /etc/s6-overlay/s6-rc.d/startup/script.sh
RUN chmod +x /etc/s6-overlay/s6-rc.d/01-startup/script.sh
# Create non-root user for running the container -- running as the user 'shairport-sync' also allows
# Shairport Sync to provide the D-Bus and MPRIS interfaces within the container
@@ -114,4 +114,4 @@ RUN addgroup -g 29 docker_audio && addgroup shairport-sync docker_audio && addgr
# Remove anything we don't need.
RUN rm -rf /lib/apk/db/*
ENTRYPOINT [ "/init", "/usr/local/bin/shairport-sync" ]
ENTRYPOINT [ "/init" ]