Skip to content

Commit

Permalink
the /run/dbus directory needs to be defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Dec 23, 2024
1 parent 3d91d4d commit 00e595c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docker/classic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 00e595c

Please sign in to comment.