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

28 lines
464 B
Docker

FROM alpine:latest
LABEL maintainer="jmm@yavook.de"
ENV TZ=Etc/UTC
RUN set -ex; \
\
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 \
tzdata \
;
COPY bin /usr/local/bin/
COPY libexec /usr/local/libexec/
CMD [ "kiwi-cron" ]