From: Mike Brady Date: Wed, 24 Jun 2020 15:36:19 +0000 (+0100) Subject: Move Docker stuff to another repository X-Git-Tag: 3.3.7d12~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d179691b215d697af206bb5167e35ece7dc331c;p=thirdparty%2Fshairport-sync.git Move Docker stuff to another repository --- diff --git a/docker/BEWARE.md b/docker/BEWARE.md deleted file mode 100644 index 4b6ab428..00000000 --- a/docker/BEWARE.md +++ /dev/null @@ -1,4 +0,0 @@ -Beware -====== - -This is very flaky. Please do not rely on this Docker stuff. diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index 9de0a929..00000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,68 +0,0 @@ -FROM alpine AS builder-base - -RUN apk -U add \ - git \ - build-base \ - autoconf \ - automake \ - libtool \ - dbus \ - su-exec \ - alsa-lib-dev \ - libdaemon-dev \ - popt-dev \ - mbedtls-dev \ - soxr-dev \ - avahi-dev \ - libconfig-dev \ - libsndfile-dev \ - mosquitto-dev \ - xmltoman - -FROM builder-base AS builder-alac - -RUN git clone --recursive https://github.com/mikebrady/alac -WORKDIR alac -RUN autoreconf -fi -RUN ./configure -RUN make -RUN make install - -FROM builder-base AS builder-sps - -COPY --from=builder-alac /usr/local/lib/libalac.* /usr/local/lib/ -COPY --from=builder-alac /usr/local/lib/pkgconfig/alac.pc /usr/local/lib/pkgconfig/alac.pc -COPY --from=builder-alac /usr/local/include /usr/local/include - -RUN git clone --recursive https://github.com/mikebrady/shairport-sync -WORKDIR shairport-sync -RUN git checkout development -RUN autoreconf -fi -RUN ./configure \ - --with-alsa \ - --with-dummy \ - --with-pipe \ - --with-stdout \ - --with-avahi \ - --with-ssl=mbedtls \ - --with-soxr \ - --sysconfdir=/etc \ - --with-dbus-interface \ - --with-mpris-interface \ - --with-mqtt-client \ - --with-apple-alac \ - --with-convolution -RUN make -j $(nproc) -RUN make install - -RUN addgroup shairport-sync -RUN adduser -D shairport-sync -G shairport-sync - -# Add the shairport-sync user to the pre-existing audio group, which has ID 29, for access to the ALSA stuff -RUN addgroup -g 29 docker_audio && addgroup shairport-sync docker_audio - -COPY shairport-sync.conf /etc/shairport-sync.conf -COPY start.sh /start.sh - -ENTRYPOINT [ "/start.sh" ] - diff --git a/docker/shairport-sync.conf b/docker/shairport-sync.conf deleted file mode 100644 index 55531593..00000000 --- a/docker/shairport-sync.conf +++ /dev/null @@ -1,13 +0,0 @@ -// Shairport Sync has a rich collection of configuration settings. - -// This very simple configuration file simply gives the AirPlay service -// the default name "Docker". - -// Please look at /etc/shairport-sync.conf.sample for lots more settings and information -// Or go to the sample configuration file on the home respository: -// https://github.com/mikebrady/shairport-sync/blob/master/scripts/shairport-sync.conf - -general = -{ - name = "Docker"; // This is the name the service will advertise to iTunes. -} diff --git a/docker/start.sh b/docker/start.sh deleted file mode 100755 index 40d408d3..00000000 --- a/docker/start.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -rm -rf /var/run/dbus.pid -#mkdir -p /var/run/dbus - -dbus-uuidgen --ensure -dbus-daemon --system - -avahi-daemon --daemonize --no-chroot - -shairport-sync $@