/
/
/
1FROM alpine:3.20
2
3# Install everything at build time (no installs at launch)
4RUN apk add --no-cache tzdata curl coreutils mosquitto-clients
5
6# Create a place for logs (cron will write here)
7RUN mkdir -p /var/log && touch /var/log/cron.log
8
9# Default envs (can be overridden by compose)
10ENV TZ=Europe/Amsterdam \
11 CRON_SCHEDULE="*/30 * * * *"
12
13# Use /bin/sh by default
14SHELL ["/bin/sh", "-c"]
15
16