Files
crond/Dockerfile
renovate f592d86f79
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 13s
Docker Build and Push / test (pull_request) Successful in 12s
Docker Build and Push / push (pull_request) Has been skipped
chore(deps): update alpine docker tag to v3.24
2026-06-09 20:54:00 +00:00

16 lines
501 B
Docker

FROM alpine:3.24
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
# Ce projet tourne en root, mais je ne vois pas encore comment l'en empecher.
# Par défaut cron doit pouvoir changer de user pour lire chaque crontab.
# En forçant un user comme guest, même avec un shell cela ne fonctionne pas.
# hadolint ignore=DL3018
RUN apk add --no-cache tini curl
COPY "run.sh" "/"
#ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "/run.sh" ]
HEALTHCHECK --interval=10s \
CMD pgrep crond || exit 1