mirror of
https://github.com/yavook/kiwi-cron.git
synced 2024-11-23 16:03:01 +00:00
24 lines
No EOL
397 B
Docker
24 lines
No EOL
397 B
Docker
FROM alpine:latest
|
|
|
|
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 \
|
|
;
|
|
|
|
COPY bin /usr/local/bin/
|
|
COPY libexec /usr/local/libexec/
|
|
|
|
CMD [ "kiwi-cron" ] |