Files
ansible-lint/Dockerfile
Julien Cabillot 5e7aecb38a
Some checks failed
perso/ansible-lint/pipeline/head Something is wrong with the build of this commit
chore: bump alpine
2026-03-31 18:26:31 -04:00

17 lines
481 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 forcant un user comme guest, même avec un shell cela ne fonctionne pas.
RUN apk add --no-cache tini curl
COPY "run.sh" "/"
#ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "/run.sh" ]
HEALTHCHECK --interval="10s" \
CMD pgrep crond || exit 1