mirror of
https://github.com/yavook/kiwi-cron.git
synced 2024-11-22 07:23:01 +00:00
27 lines
No EOL
430 B
Docker
27 lines
No EOL
430 B
Docker
FROM alpine:latest
|
|
|
|
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" ] |