From 69f5e78050dea2cf34c0ddbdbf108ea11bdd896e Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 28 Jun 2026 17:08:56 +0100 Subject: [PATCH] Add a few tools and do a recompile for more comportable troubleshooting. --- docker/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 106e07f5..a790be7f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -120,6 +120,25 @@ WORKDIR / ##### DEV ##### FROM shairport-sync AS dev RUN apk add bash +RUN apk add gdb +RUN apk add valgrind +RUN ulimit -c unlimited + + +WORKDIR /shairport-sync/build + +# Rebuild with no optimisation and debug symbols in place + +RUN CFLAGS="-O0 -g" CXXFLAGS="-O0 -g" ../configure --sysconfdir=/etc --with-alsa --with-pulseaudio --with-soxr --with-avahi --with-ssl=openssl \ + --with-airplay-2 --with-metadata --with-dummy --with-pipe --with-dbus-interface \ + --with-stdout --with-mpris-interface --with-mqtt-client \ + --with-convolution --with-pipewire +RUN make clean +RUN make +RUN DESTDIR=install make install +WORKDIR / + + RUN addgroup shairport-sync && \ adduser -D shairport-sync -G shairport-sync && \