-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (15 loc) · 725 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (15 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM owntone/owntone:29.3
# librespot only lives in Alpine's edge/testing repo for now. Unpinned on
# purpose: pinning a testing version just swaps silent upgrades for builds that
# break once edge drops the release.
# ponytail: move to the regular repos as soon as librespot lands in community.
RUN apk add --no-cache \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \
librespot && \
# linuxserver/daapd ran OwnTone as "abc" (uid 911) and existing add-on
# installs still carry that in their owntone.conf, so keep the user.
adduser -D -H -u 911 abc && \
mkdir -p /etc/owntone /music
COPY root/ /
RUN rc-update add owntone-init default && \
rc-update add librespot default