9fb7bcae49
Docker Build and Push / lint (push) Successful in 8s
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (push) Successful in 16s
Docker Build and Push / build (pull_request) Successful in 16s
Docker Build and Push / test (push) Failing after 12s
Docker Build and Push / push (push) Has been skipped
Docker Build and Push / test (pull_request) Failing after 11s
Docker Build and Push / push (pull_request) Has been skipped
16 lines
501 B
Docker
16 lines
501 B
Docker
FROM alpine:3.23
|
|
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 |