Wanderson C.
Wanderson C.
+1
Alpine `< 3.10`: `timeout -t 1 sleep 2` Alpine `>= 3.10`: `timeout 1 sleep 2` :skull:
https://unix.stackexchange.com/questions/274564/posix-equivalent-for-gnu-timeout
Solution: https://github.com/wandersonwhcr/sh-timeout/blob/main/timeout.sh
If we implement a `--timeout` feature, we can also close #28 .
Is this doc relevant? https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes But yes, I think we must implement a `--timeout` feature, too. 
Hello @egege ! I think we have a doc problem here, because if `php-fpm-healthcheck` fails, pod will be marked as unhealthy. I'll try to simulate this behavior.
Hello @blodan, sorry for the delay. Do you have any idea how can we implement TDD in this case?
@crazywhalecc ty for this https://github.com/crazywhalecc/static-php-cli/blob/master/docker/check-extensions.sh#L226 it saved my life.
And did `--enable-shared=no` and `--enable-static=yes` work for you? Also, I had to add a `sed -i 's/-export-dynamic/-all-static/g' Makefile` to work.