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

[WIP] plugins: add RoonBridge plugin #388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,14 @@ services:
network_mode: host
ports:
- 49494:49494

roon:
build: ./plugins/roon
restart: on-failure
network_mode: host
ports:
- 9003:9003
- 9100-9200:9100-9200
privileged: true
labels:
io.balena.features.dbus: 1
28 changes: 28 additions & 0 deletions plugins/roon/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM balenalib/raspberrypi4-64-debian:latest

ENV ROON_DATAROOT /var/RoonBridge
ENV ROON_ID_DIR /var/RoonBridge
# ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket

RUN install_packages curl ffmpeg lbzip2

# RUN cat /proc/cpuinfo
# RUN uname -m
# RUN uname -p
# RUN uname -i

# Audio block setup
ENV PULSE_SERVER=tcp:localhost:4317
RUN curl -sL https://raw.githubusercontent.com/balenablocks/audio/master/scripts/alsa-bridge/debian-setup.sh | bash -s y

WORKDIR /opt/RoonBridge
ADD roonbridge-installer-linuxarmv8.sh /opt/RoonBridge
RUN chmod +x roonbridge-installer-linuxarmv8.sh && ./roonbridge-installer-linuxarmv8.sh

# Pull directly from roon server - failing currently due to mismatched arch
# RUN curl -O http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv8.sh &&\
# chmod +x roonbridge-installer-linuxarmv8.sh &&\
# ./roonbridge-installer-linuxarmv8.sh

# VOLUME [ "/opt/RoonBridge" ]
ENTRYPOINT /opt/RoonBridge/start.sh
Loading