Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .editorconfig
100755 → 100644
Empty file.
Empty file modified .github/CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified .github/FUNDING.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/config.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/issue.bug.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/issue.feature.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/call_issue_pr_tracker.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/call_issues_cron.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/external_trigger.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/external_trigger_scheduler.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/greetings.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/package_trigger_scheduler.yml
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.20
FROM ghcr.io/linuxserver/baseimage-alpine:3.21

# set version label
ARG BUILD_DATE
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21

# set version label
ARG BUILD_DATE
Expand Down
Empty file modified LICENSE
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **27.01.25:** - Rebase to Alpine 3.21.
* **24.06.24:** - Rebase to Alpine 3.20.
* **17.06.24:** - Bump CI_DELAY to 120 seconds as ARM builds were failing.
* **30.03.24:** - Added IP address to logging output when IP changes.
Expand Down
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ opt_param_usage_include_vols: true
opt_param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files. Also set `LOG_FILE=true` to keep address history."}
readonly_supported: true
nonroot_supported: false
# application setup block
app_setup_block_enabled: true
app_setup_block: |
Expand Down Expand Up @@ -86,6 +87,7 @@ init_diagram: |
"duckdns:latest" <- Base Images
# changelog
changelogs:
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
- {date: "24.06.24:", desc: "Rebase to Alpine 3.20."}
- {date: "17.06.24:", desc: "Bump CI_DELAY to 120 seconds as ARM builds were failing."}
- {date: "30.03.24:", desc: "Added IP address to logging output when IP changes."}
Expand Down
5 changes: 3 additions & 2 deletions root/app/duck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ if [[ "${LOG_FILE,,}" = "true" ]]; then
DUCK_LOG="/config/duck.log"
touch "${DUCK_LOG}"
touch /config/logrotate.status
/usr/sbin/logrotate -s /config/logrotate.status /app/logrotate.conf
chmod 640 /config/logrotate.status
/usr/sbin/logrotate -s /config/logrotate.status /config/logrotate.conf
else
DUCK_LOG="/dev/null"
fi
Expand Down Expand Up @@ -47,7 +48,7 @@ fi
elif [[ "${IPV4}" == "" ]] && [[ "${IPV6}" != "" ]]; then
echo "Your IP was updated at $(date) to IPv6: ${IPV6}"
else
echo "Your IP was updated at $(date) to IPv4: ${IPV4} & IPv6 to: {$IPV6}"
echo "Your IP was updated at $(date) to IPv4: ${IPV4} & IPv6 to: {$IPV6}"
fi
elif [[ "${RESPONSE}" = "OK" ]] && [[ "${IPCHANGE}" = "NOCHANGE" ]]; then
echo "DuckDNS request at $(date) successful. IP(s) unchanged."
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-duckdns/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ if [ -z "${SUBDOMAINS}" ] || [ -z "${TOKEN}" ]; then
sleep infinity
fi

if [[ ! -f /config/logrotate.conf ]]; then
cp /defaults/logrotate.conf /config/logrotate.conf
chmod 640 /config/logrotate.conf
fi

# permissions
lsiown -R abc:abc \
/config
Expand Down
Loading