-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2cf88a
commit b734477
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386 | ||
FROM alpine:3.19.1 | ||
|
||
# renovate: datasource=repology depName=alpine_3_19/rsync versioning=loose | ||
ARG RSYNC_VERSION="3.2.7-r4" | ||
|
||
|
||
RUN apk add --no-cache \ | ||
rsync=${RSYNC_VERSION} | ||
&& \ | ||
rm -rf /var/cache/apk/* && \ | ||
echo "nobody" > /etc/crontabs/cron.update | ||
|
||
COPY crontab /etc/crontabs/nobody | ||
|
||
CMD echo Starting cron && \ | ||
/usr/sbin/crond -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
50 * * * * rsync -rtlvH --delete-after --delay-updates --safe-links rsync://de3.mirror.archlinuxarm.org/archlinux-arm /share/archlinuxarm |