From 00e595ce55bcb6cde346de4c894c636cf4d60fda Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:14:16 +0000 Subject: [PATCH] the /run/dbus directory needs to be defined. --- docker/Dockerfile | 3 ++- docker/classic/Dockerfile | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 21d6790dc..165b1c0e3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -124,7 +124,8 @@ RUN apk -U add \ adduser -D shairport-sync -G shairport-sync && \ addgroup -g 29 docker_audio && \ addgroup shairport-sync docker_audio && \ - addgroup shairport-sync audio + addgroup shairport-sync audio && \ + mkdir -p /run/dbus # Remove anything we don't need. # Remove any statically-defined Avahi services, e.g. SSH and SFTP diff --git a/docker/classic/Dockerfile b/docker/classic/Dockerfile index 283442bd7..ef26d5d9a 100644 --- a/docker/classic/Dockerfile +++ b/docker/classic/Dockerfile @@ -104,4 +104,7 @@ RUN rm -rf /etc/avahi/services/*.service COPY ./docker/run.sh ./run.sh RUN chmod +x /run.sh +# D-Bus might need this directory +RUN mkdir -p /run/dbus + ENTRYPOINT ["/init","./run.sh"]