Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dbus and use tinysvcmdns instead of Avahi #8

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
use tinysvcmdns for mdns and remove dbus references
  • Loading branch information
orbsmiv committed Jun 7, 2020
commit 34e6bde262bc5f66736ea4ccd3beb5d0b7e1be58
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ RUN apk --no-cache -U add \
popt-dev \
libressl-dev \
soxr-dev \
avahi-dev \
libconfig-dev \
libsndfile-dev \
mosquitto-dev
Expand All @@ -31,13 +30,12 @@ RUN autoreconf -i -f \
&& ./configure \
--with-alsa \
--with-pipe \
--with-avahi \
--with-tinysvcmdns \
--with-ssl=openssl \
--with-soxr \
--with-metadata \
--sysconfdir=/etc \
--without-libdaemon \
--with-dbus-interface \
--with-mqtt-client \
--with-convolution \
&& make -j $(nproc) \
Expand All @@ -48,12 +46,10 @@ FROM alpine:3.12
RUN apk add --no-cache \
alsa-lib \
libdaemon \
dbus \
popt \
glib \
libressl \
soxr \
avahi \
libconfig \
libsndfile \
mosquitto-libs \
Expand All @@ -64,7 +60,6 @@ RUN apk add --no-cache \
/root/shairport-sync

COPY --from=builder /etc/shairport-sync* /etc/
COPY --from=builder /etc/dbus-1/system.d/shairport-sync-dbus.conf /etc/dbus-1/system.d/
COPY --from=builder /usr/local/bin/shairport-sync /usr/local/bin/shairport-sync

# Create non-root user for running the container
Expand Down