Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit a8a55db

Browse files
committed
Rebase to 3.17, migrate to s6v3
1 parent 536d7b8 commit a8a55db

32 files changed

Lines changed: 66 additions & 65 deletions

File tree

Dockerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage
1+
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
22
############## build stage ##############
33

44
ARG DAAPD_RELEASE
@@ -12,11 +12,9 @@ RUN \
1212
autoconf \
1313
automake \
1414
avahi-dev \
15-
bash \
1615
bison \
1716
bsd-compat-headers \
1817
confuse-dev \
19-
curl \
2018
curl-dev \
2119
ffmpeg-dev \
2220
file \
@@ -28,12 +26,11 @@ RUN \
2826
gnutls-dev \
2927
gperf \
3028
json-c-dev \
31-
libcurl \
3229
libevent-dev \
3330
libgcrypt-dev \
3431
libogg-dev \
3532
libplist-dev \
36-
libressl-dev \
33+
openssl-dev \
3734
libsodium-dev \
3835
libtool \
3936
libunistring-dev \
@@ -43,8 +40,7 @@ RUN \
4340
openjdk8-jre-base \
4441
protobuf-c-dev \
4542
sqlite-dev \
46-
taglib-dev \
47-
tar && \
43+
taglib-dev && \
4844
echo "**** make antlr wrapper ****" && \
4945
mkdir -p \
5046
/tmp/source/owntone && \
@@ -105,7 +101,7 @@ RUN \
105101
mv /tmp/daapd-build/etc/owntone.conf /tmp/daapd-build/etc/owntone.conf.orig && \
106102
rm -rf /tmp/daapd-build/var
107103
############## runtime stage ##############
108-
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
104+
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
109105

110106
# set version label
111107
ARG BUILD_DATE
@@ -118,17 +114,15 @@ RUN \
118114
apk add -U --update --no-cache \
119115
avahi \
120116
confuse \
121-
curl \
122117
dbus \
123118
ffmpeg \
124119
json-c \
125-
libcurl \
126120
libevent \
127121
libgcrypt \
128122
libplist \
129-
libressl \
130123
libsodium \
131124
libunistring \
125+
libuuid \
132126
libwebsockets \
133127
mxml \
134128
protobuf-c \

Dockerfile.aarch64

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15 as buildstage
1+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17 as buildstage
22
############## build stage ##############
33

44
ARG DAAPD_RELEASE
@@ -10,11 +10,9 @@ RUN \
1010
autoconf \
1111
automake \
1212
avahi-dev \
13-
bash \
1413
bison \
1514
bsd-compat-headers \
1615
confuse-dev \
17-
curl \
1816
curl-dev \
1917
ffmpeg-dev \
2018
file \
@@ -26,23 +24,21 @@ RUN \
2624
gnutls-dev \
2725
gperf \
2826
json-c-dev \
29-
libcurl \
3027
libevent-dev \
3128
libgcrypt-dev \
3229
libogg-dev \
3330
libplist-dev \
34-
libressl-dev \
3531
libsodium-dev \
3632
libtool \
3733
libunistring-dev \
3834
libwebsockets-dev \
3935
make \
4036
mxml-dev \
4137
openjdk8-jre-base \
38+
openssl-dev \
4239
protobuf-c-dev \
4340
sqlite-dev \
44-
taglib-dev \
45-
tar && \
41+
taglib-dev && \
4642
echo "**** make antlr wrapper ****" && \
4743
mkdir -p \
4844
/tmp/source/owntone && \
@@ -96,7 +92,7 @@ RUN \
9692
mv /tmp/daapd-build/etc/owntone.conf /tmp/daapd-build/etc/owntone.conf.orig && \
9793
rm -rf /tmp/daapd-build/var
9894
############## runtime stage ##############
99-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
95+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
10096

10197
# set version label
10298
ARG BUILD_DATE
@@ -109,17 +105,15 @@ RUN \
109105
apk add -U --update --no-cache \
110106
avahi \
111107
confuse \
112-
curl \
113108
dbus \
114109
ffmpeg \
115110
json-c \
116-
libcurl \
117111
libevent \
118112
libgcrypt \
119113
libplist \
120-
libressl \
121114
libsodium \
122115
libunistring \
116+
libuuid \
123117
libwebsockets \
124118
mxml \
125119
protobuf-c \

Dockerfile.armhf

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15 as buildstage
1+
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17 as buildstage
22
############## build stage ##############
33

44
ARG DAAPD_RELEASE
@@ -10,11 +10,9 @@ RUN \
1010
autoconf \
1111
automake \
1212
avahi-dev \
13-
bash \
1413
bison \
1514
bsd-compat-headers \
1615
confuse-dev \
17-
curl \
1816
curl-dev \
1917
ffmpeg-dev \
2018
file \
@@ -26,23 +24,21 @@ RUN \
2624
gnutls-dev \
2725
gperf \
2826
json-c-dev \
29-
libcurl \
3027
libevent-dev \
3128
libgcrypt-dev \
3229
libogg-dev \
3330
libplist-dev \
34-
libressl-dev \
3531
libsodium-dev \
3632
libtool \
3733
libunistring-dev \
3834
libwebsockets-dev \
3935
make \
4036
mxml-dev \
4137
openjdk8-jre-base \
38+
openssl-dev \
4239
protobuf-c-dev \
4340
sqlite-dev \
44-
taglib-dev \
45-
tar && \
41+
taglib-dev && \
4642
echo "**** make antlr wrapper ****" && \
4743
mkdir -p \
4844
/tmp/source/owntone && \
@@ -96,7 +92,7 @@ RUN \
9692
mv /tmp/daapd-build/etc/owntone.conf /tmp/daapd-build/etc/owntone.conf.orig && \
9793
rm -rf /tmp/daapd-build/var
9894
############## runtime stage ##############
99-
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
95+
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
10096

10197
# set version label
10298
ARG BUILD_DATE
@@ -109,17 +105,15 @@ RUN \
109105
apk add -U --update --no-cache \
110106
avahi \
111107
confuse \
112-
curl \
113108
dbus \
114109
ffmpeg \
115110
json-c \
116-
libcurl \
117111
libevent \
118112
libgcrypt \
119113
libplist \
120-
libressl \
121114
libsodium \
122115
libunistring \
116+
libuuid \
123117
libwebsockets \
124118
mxml \
125119
protobuf-c \

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ services:
9797
- PGID=1000
9898
- TZ=Etc/UTC
9999
volumes:
100-
- <path to data>:/config
101-
- <path to music>:/music
100+
- /path/to/data:/config
101+
- /path/to/music:/music
102102
restart: unless-stopped
103103
```
104104
@@ -111,8 +111,8 @@ docker run -d \
111111
-e PUID=1000 \
112112
-e PGID=1000 \
113113
-e TZ=Etc/UTC \
114-
-v <path to data>:/config \
115-
-v <path to music>:/music \
114+
-v /path/to/data:/config \
115+
-v /path/to/music:/music \
116116
--restart unless-stopped \
117117
lscr.io/linuxserver/daapd:latest
118118

@@ -240,6 +240,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
240240

241241
## Versions
242242

243+
* **23.02.23:** - Rebase to Alpine 3.17, migrate to s6v3.
243244
* **31.05.22:** - Make sure the user has access to the audio device.
244245
* **31.05.22:** - Add new deps, flex and bison.
245246
* **12.02.22:** - Rebase to Alpine 3.15.

readme-vars.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ param_env_vars:
2828
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
2929
param_usage_include_vols: true
3030
param_volumes:
31-
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "Where daapd server stores its config and dbase files." }
32-
- { vol_path: "/music", vol_host_path: "<path to music>", desc: "Map to your music folder." }
31+
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where daapd server stores its config and dbase files." }
32+
- { vol_path: "/music", vol_host_path: "/path/to/music", desc: "Map to your music folder." }
3333
param_usage_include_ports: false
3434
param_device_map: false
3535
cap_add_param: false
@@ -65,6 +65,7 @@ app_setup_block: |
6565
6666
# changelog
6767
changelogs:
68+
- { date: "23.02.23:", desc: "Rebase to Alpine 3.17, migrate to s6v3." }
6869
- { date: "31.05.22:", desc: "Make sure the user has access to the audio device." }
6970
- { date: "31.05.22:", desc: "Add new deps, flex and bison." }
7071
- { date: "12.02.22:", desc: "Rebase to Alpine 3.15." }

root/etc/cont-init.d/30-dbus

Lines changed: 0 additions & 16 deletions
This file was deleted.

root/etc/s6-overlay/s6-rc.d/init-audio-config/dependencies.d/init-daapd-config

Whitespace-only changes.

root/etc/cont-init.d/50-gid-audio renamed to root/etc/s6-overlay/s6-rc.d/init-audio-config/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
23

34
FILES=$(find /dev/snd -type c -print 2>/dev/null)
45

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
oneshot
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/s6-overlay/s6-rc.d/init-audio-config/run

0 commit comments

Comments
 (0)