Files
crond/Dockerfile
T
cloudix_mcp_server b6b4d56300
Docker Build and Push / lint (push) Failing after 8s
Docker Build and Push / lint (pull_request) Failing after 5s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / build (pull_request) Has been skipped
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (push) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
fix: add hadolint ignore DL3018 for apk add
2026-06-08 19:02:39 -04:00

17 lines
506 B
Docker

FROM "alpine:3.23"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
# Ce projet tourne en root, mais je ne voit 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