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/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.
Empty file modified .github/workflows/permissions.yml
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN \
p7zip && \
echo "**** grab GeoIP database ****" && \
curl -L --retry 10 --retry-max-time 60 --retry-all-errors \
"https://mailfud.org/geoip-legacy/GeoIP.dat.gz" \
"https://geo.el0.org/GeoIP.dat.gz" \
| gunzip > /usr/share/GeoIP/GeoIP.dat && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN \
p7zip && \
echo "**** grab GeoIP database ****" && \
curl -L --retry 10 --retry-max-time 60 --retry-all-errors \
"https://mailfud.org/geoip-legacy/GeoIP.dat.gz" \
"https://geo.el0.org/GeoIP.dat.gz" \
| gunzip > /usr/share/GeoIP/GeoIP.dat && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **23.08.25:** - Update GeoIP provider, add weekly cronjob to update.
* **12.01.25:** - Rebase libtorrentv1 branch to Alpine 3.21.
* **19.09.24:** - Prevent race condition related delay during container stop.
* **26.08.24:** - Add libtorrentv1 tag.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ init_diagram: |
"deluge:latest" <- Base Images
# changelog
changelogs:
- {date: "23.08.25:", desc: "Update GeoIP provider, add weekly cronjob to update."}
- {date: "12.01.25:", desc: "Rebase libtorrentv1 branch to Alpine 3.21."}
- {date: "19.09.24:", desc: "Prevent race condition related delay during container stop."}
- {date: "26.08.24:", desc: "Add libtorrentv1 tag."}
Expand Down
16 changes: 16 additions & 0 deletions root/app/update-geoip.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

# Sleep a random amount of time up to 3 hours so we're not hitting the server all at once
sleep $(( RANDOM % 10800 ))

# downlad latest GeoIP.dat
geoip_dat_path="/usr/share/GeoIP/GeoIP.dat"

if [[ -e "${geoip_dat_path}" ]]; then
curl -s -L --retry 2 --retry-max-time 10 --retry-all-errors \
"https://geo.el0.org/GeoIP.dat.gz" |
gunzip > /tmp/GeoIP.dat && \
mv /tmp/GeoIP.dat "${geoip_dat_path}" && \
chmod 644 "${geoip_dat_path}"
fi
2 changes: 2 additions & 0 deletions root/crontabs/root
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# min hour day month weekday command
0 3 * * 0 /app/geoip-update.sh 2>&1