Fix cron service and use direct ipv6 to nld.t1.alpinelinux.org
This commit is contained in:
parent
965cba86a6
commit
6224506283
|
@ -0,0 +1,5 @@
|
|||
FROM alpine
|
||||
|
||||
RUN mkdir -p /var/spool/cron /etc/crontabs
|
||||
|
||||
CMD ["busybox", "crond", "-f", "-d", "8"]
|
|
@ -1,7 +0,0 @@
|
|||
FROM alpine
|
||||
|
||||
RUN --network=host apk add dcron
|
||||
|
||||
RUN mkdir -p /var/spool/cron /etc/crontabs
|
||||
|
||||
CMD ["/usr/sbin/crond", "-fP", "-L", "/dev/stderr"]
|
|
@ -1,5 +1,6 @@
|
|||
FROM localhost/caskd/daemons/dcron:latest
|
||||
FROM localhost/caskd/daemons/cron:latest
|
||||
|
||||
RUN --network=host apk add rsync
|
||||
|
||||
ADD cron /etc/crontabs/root
|
||||
RUN echo "0 * * * * /usr/libexec/alpine-rsync" > /etc/crontabs/root
|
||||
ADD cron /usr/libexec/alpine-rsync
|
||||
|
|
|
@ -6,5 +6,7 @@ rsync \
|
|||
--delay-updates \
|
||||
--delete-delay \
|
||||
--timeout=600 \
|
||||
rsync://rsync.alpinelinux.org/alpine/ \
|
||||
rsync://'[2604:1380:4601:dc00::1]'/alpine/ \
|
||||
/run/repo/
|
||||
|
||||
# TODO: Use rsync://rsync.alpinelinux.org/alpine/ when they get anycast v6
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
localhost/caskd/scheduled/alpine-rsync/${BUILD_ID_OUT}: \
|
||||
localhost/caskd/daemons/dcron/${BUILD_ID_OUT}
|
||||
localhost/caskd/scheduled/alpine-rsync/cron \
|
||||
localhost/caskd/daemons/cron/${BUILD_ID_OUT}
|
||||
|
||||
# Wine
|
||||
WINEDEPS := localhost/caskd/archlinux/wine/${BUILD_ID_OUT}
|
||||
|
|
Loading…
Reference in New Issue