fix: remove quotes from HEALTHCHECK interval (hadolint)
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
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
This commit is contained in:
+3
-4
@@ -1,7 +1,7 @@
|
|||||||
FROM "alpine:3.23"
|
FROM alpine:3.23
|
||||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
# Ce projet tourne en root, mais je ne voit pas encore comment l'en empecher.
|
# 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.
|
# 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.
|
# En forçant un user comme guest, même avec un shell cela ne fonctionne pas.
|
||||||
|
|
||||||
@@ -12,6 +12,5 @@ COPY "run.sh" "/"
|
|||||||
|
|
||||||
#ENTRYPOINT [ "/sbin/tini", "--" ]
|
#ENTRYPOINT [ "/sbin/tini", "--" ]
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
|
HEALTHCHECK --interval=10s \
|
||||||
HEALTHCHECK --interval="10s" \
|
|
||||||
CMD pgrep crond || exit 1
|
CMD pgrep crond || exit 1
|
||||||
Reference in New Issue
Block a user