-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 889 Bytes
/
Dockerfile
File metadata and controls
28 lines (23 loc) · 889 Bytes
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
#FROM balenalib/rpi-raspbian
FROM balenalib/raspberry-pi:bullseye
RUN apt-get update && \
apt-get -y install gnupg2 alsa-utils libasound2-plugin-equal gettext curl apt-transport-https && \
update-ca-certificates --fresh && \
curl -skSL https://dtcooper.github.io/raspotify/key.asc | apt-key add -v - && \
echo 'deb https://dtcooper.github.io/raspotify raspotify main' | tee /etc/apt/sources.list.d/raspotify.list && \
apt-get update && \
apt-get -y install raspotify && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# RUN curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
ENV SPOTIFY_NAME RaspotifySpeaker
ENV BACKEND_NAME 'alsa'
ENV DEVICE_NAME 'equal'
ENV ALSA_SLAVE_PCM 'plughw:0,0'
ENV ALSA_SOUND_LEVEL '100%'
ENV VERBOSE 'false'
ENV EQUALIZATION ''
COPY /asound.conf /
COPY /equalizer.sh /
COPY /startup.sh /
ENTRYPOINT /startup.sh