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

29 lines
464 B
Docker
Raw Permalink Normal View History

2022-02-24 17:16:01 +00:00
FROM alpine:latest
2022-03-01 17:53:53 +00:00
LABEL maintainer="jmm@yavook.de"
2022-02-24 17:16:01 +00:00
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-03-02 17:54:58 +00:00
CMD [ "kiwi-cron" ]