Skip to content

Commit

Permalink
feat: add rsync container
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorJPDJ committed Mar 15, 2024
1 parent b2cf88a commit b734477
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions containers/rsync/Dockerfile
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
1 change: 1 addition & 0 deletions containers/rsync/crontab
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

0 comments on commit b734477

Please sign in to comment.