1
0
Fork 0
mirror of https://github.com/yavook/kiwi-cron.git synced 2024-11-21 23:13:00 +00:00
kiwi-cron/Dockerfile

27 lines
430 B
Docker
Raw Normal View History

2022-02-24 17:16:01 +00:00
FROM alpine:latest
2022-03-01 17:44:09 +00:00
ENV TZ=Etc/UTC
2022-02-24 17:16:01 +00:00
RUN set -ex; \
\
2022-02-25 00:57:52 +00:00
mkdir -pm 755 /kiwi-cron; \
cd /kiwi-cron; \
mkdir -pm 755 \
every/5_minutes \
every/15_minutes \
hourly \
daily \
weekly \
monthly \
yearly \
; \
\
apk --no-cache add \
docker-cli \
2022-03-01 17:44:09 +00:00
tzdata \
2022-02-25 00:57:52 +00:00
;
2022-02-24 17:16:01 +00:00
2022-03-01 16:24:52 +00:00
COPY bin /usr/local/bin/
COPY libexec /usr/local/libexec/
2022-02-24 17:16:01 +00:00
2022-02-25 16:24:50 +00:00
CMD [ "kiwi-cron" ]