File tree 17 files changed +39
-42
lines changed
init-config-end/dependencies.d
17 files changed +39
-42
lines changed Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:3.15
1
+ FROM ghcr.io/linuxserver/baseimage-alpine:3.16
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
@@ -7,9 +7,6 @@ ARG DUCKDNS_VERSION
7
7
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
8
LABEL maintainer="aptalca"
9
9
10
- # environment settings
11
- ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
12
-
13
10
RUN \
14
11
echo "**** install packages ****" && \
15
12
apk add --no-cache \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
1
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
@@ -7,9 +7,6 @@ ARG DUCKDNS_VERSION
7
7
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
8
LABEL maintainer="aptalca"
9
9
10
- # environment settings
11
- ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
12
-
13
10
RUN \
14
11
echo "**** install packages ****" && \
15
12
apk add --no-cache \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
1
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
@@ -7,9 +7,6 @@ ARG DUCKDNS_VERSION
7
7
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
8
LABEL maintainer="aptalca"
9
9
10
- # environment settings
11
- ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
12
-
13
10
RUN \
14
11
echo "**** install packages ****" && \
15
12
apk add --no-cache \
Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
230
230
231
231
## Versions
232
232
233
+ * ** 23.09.22:** - Rebase to alpine 3.16 and s6v3.
233
234
* ** 19.09.22:** - Rebase to alpine 3.15.
234
235
* ** 17.05.22:** - Don't allow insecure connections and add timeout.
235
236
* ** 17.05.22:** - Add random jitter to update time.
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ app_setup_block: |
64
64
65
65
# changelog
66
66
changelogs :
67
+ - { date: "23.09.22:", desc: "Rebase to alpine 3.16 and s6v3." }
67
68
- { date: "19.09.22:", desc: "Rebase to alpine 3.15." }
68
69
- { date: "17.05.22:", desc: "Don't allow insecure connections and add timeout." }
69
70
- { date: "17.05.22:", desc: "Add random jitter to update time." }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/with-contenv bash
2
+
3
+ #Check to make sure the subdomain and token are set
4
+ if [ -z "$SUBDOMAINS" ] || [ -z "$TOKEN" ]; then
5
+ echo "Please pass both your subdomain(s) and token as environment variables in your docker run command. See the readme for more details."
6
+ sleep infinity
7
+ else
8
+ echo "Retrieving subdomain and token from the environment variables"
9
+ echo -e "SUBDOMAINS=\"${SUBDOMAINS}\" TOKEN=\"${TOKEN}\"" > /app/duck.conf
10
+ fi
11
+
12
+ # modify crontab if logging to file
13
+ if [ "$LOG_FILE" = "true" ]; then
14
+ crontab -u abc /defaults/duckcron
15
+ echo "log will be output to file"
16
+ else
17
+ echo "log will be output to docker log"
18
+ fi
19
+
20
+ # permissions
21
+ chown -R abc:abc \
22
+ /app \
23
+ /config
24
+
25
+ # run initial IP update
26
+ exec \
27
+ s6-setuidgid abc /app/duck.sh
Original file line number Diff line number Diff line change
1
+ oneshot
Original file line number Diff line number Diff line change
1
+ /etc/s6-overlay/s6-rc.d/init-duckdns/run
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/with-contenv bash
2
+
3
+ exec \
4
+ /usr/sbin/crond -f -S -l 0 -c /etc/crontabs
Original file line number Diff line number Diff line change
1
+ longrun
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments