blob: a1c2ea88ec0ae6e8bfc55ab705b815ba25820393 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
FROM alpine:3.16
#RUN apk update && apk add --no-cache git cronie busybox-initscripts
RUN apk update && apk add --no-cache git apk-cron
# RUN rc-service crond start && rc-update add crond
COPY ./bootstrap.sh /bootstrap.sh
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
COPY ./cron /etc/periodic/daily/cron
# COPY ./crontab /etc/crontabs/root
# RUN chmod 0744 /bootstrap.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
|