Skip to content

Commit

Permalink
Remove the need for alsa bridge for airplay
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Oct 27, 2024
1 parent b258569 commit a9947e8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions plugins/airplay/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
# DL4006: https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/sh", "-eo", "pipefail", "-c"]

# shairport-sync docker image doesn't include pulseaudio support so we use ALSA bridge
ENV PULSE_SERVER=tcp:localhost:4317
RUN apk update && apk add --no-cache supervisor curl~=7 && \
curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh \
&& apk del curl
ENV PULSE_SERVER=tcp:audio:4317
RUN apk update && apk add --no-cache supervisor

COPY start.sh /usr/src/
COPY supervisor.conf /usr/src/supervisor.conf
Expand Down

0 comments on commit a9947e8

Please sign in to comment.