Files
crond/Dockerfile
T
renovate 65cb00abdd
Docker Build and Push / lint (pull_request) Successful in 9s
Docker Build and Push / lint (push) Successful in 14s
Docker Build and Push / build (push) Successful in 23s
Docker Build and Push / build (pull_request) Successful in 26s
Docker Build and Push / test (push) Successful in 13s
Docker Build and Push / test (pull_request) Successful in 23s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 28s
Pin dependencies
2026-06-09 13:30:30 +00:00

16 lines
573 B
Docker

FROM alpine:3.23@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11
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