-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
28 lines (21 loc) · 1015 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Dockerfile to install the latest version of RoonServer for Linux x86_64
FROM mikedickey/roonserver:base
# Based upon RonCH's Dockerfile from https://community.roonlabs.com/t/roon-running-in-docker-on-synology/9979
# and instructions from http://kb.roonlabs.com/LinuxInstall
MAINTAINER mike@mikedickey.com
# Location of Roon's latest Linux installer
ENV ROON_INSTALLER roonserver-installer-linuxx64.sh
ENV ROON_INSTALLER_URL http://download.roonlabs.com/builds/${ROON_INSTALLER}
# These are expected by Roon's startup script
ENV ROON_DATAROOT /var/roon
ENV ROON_ID_DIR /var/roon
# Grab installer and script to run it
COPY run_installer.sh /tmp
# Fix installer permissions
RUN curl -s -L -o /tmp/${ROON_INSTALLER} ${ROON_INSTALLER_URL} && \
chmod 700 /tmp/${ROON_INSTALLER} /tmp/run_installer.sh && \
/tmp/run_installer.sh
# Your Roon data will be stored in /var/roon; /music is for your music
VOLUME [ "/var/roon", "/music" ]
# This starts Roon when the container runs
ENTRYPOINT /opt/RoonServer/start.sh