blob: be4f278431cb56fd999a84a971bedfa8dfeda12a (
plain) (
tree)
|
|
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/15min/cron
# COPY ./crontab /etc/crontabs/root
# RUN chmod 0744 /bootstrap.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
|