-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile.linux-arm32v7
43 lines (35 loc) · 1.38 KB
/
Dockerfile.linux-arm32v7
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM arm32v7/debian:stretch-slim
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
LABEL maintainer="Lars Kellogg-Stedman <[email protected]>"
LABEL maintainer="Raymond M Mouthaan <[email protected]>"
LABEL maintainer="Denis Oliana"
ENV SQUEEZE_VOL /srv/squeezebox
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
# this is the version of LMS to use
ARG VERSION
ARG PACKAGE_URL=http://www.mysqueezebox.com/update/?version=${VERSION}&revision=1&geturl=1&os=debarm
# Install requirements and utilities
RUN apt-get update && \
apt-get -y install curl wget nano faad flac lame sox libio-socket-ssl-perl libcrypt-openssl-rsa-perl \
iputils-ping \
iproute2 \
ffmpeg \
pulseaudio-utils \
&& apt-get clean
# Download and install LMS
RUN echo download LMS from $PACKAGE_URL && \
wget -O 'logitechmediaserver_all.deb' $(wget -q -O - ${PACKAGE_URL}) -q && \
mv logitechmediaserver_all.deb /tmp/logitechmediaserver.deb && \
dpkg -i /tmp/logitechmediaserver.deb && \
rm -f /tmp/logitechmediaserver.deb && \
apt-get clean
# This will be created by the entrypoint script.
RUN userdel squeezeboxserver
VOLUME $SQUEEZE_VOL
EXPOSE 3483 3483/udp 9000 9090
COPY pulseaudio.client.conf /etc/pulse/client.conf
COPY entrypoint.sh /entrypoint.sh
COPY start-squeezebox.sh /start-squeezebox.sh
RUN chmod 755 /entrypoint.sh /start-squeezebox.sh
ENTRYPOINT ["/entrypoint.sh"]