]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
the /run/dbus directory needs to be defined.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 23 Dec 2024 16:14:16 +0000 (16:14 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 23 Dec 2024 16:14:16 +0000 (16:14 +0000)
docker/Dockerfile
docker/classic/Dockerfile

index 21d6790dc53b87051f2342469d5952ced1994a96..165b1c0e34e07c8c9abe06e681e901426770bc51 100644 (file)
@@ -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
index 283442bd78ece0683f0971c5632a2a584455a124..ef26d5d9a03572a173ce9b49ae4f7dada52fff1c 100644 (file)
@@ -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"]