My web app is using /bin/ping in backend and iputils-ping is present in base docker image. Any idea why I get /bin/ping not found now when app is running in fly.io?
Thanks.
My web app is using /bin/ping in backend and iputils-ping is present in base docker image. Any idea why I get /bin/ping not found now when app is running in fly.io?
Thanks.
Missed to attach Dockerfile - uptime-kuma/dockerfile at master · louislam/uptime-kuma · GitHub
This is what needed iputils-ping in background to run icmp checks.
Issue fixed.
I was mistaken that flyctl was deploying docker image but it was instead detecting the app and building container on it’s own and that resulted in container build without ping.
A simple one line dockerfile worked:
FROM lscr.io/linuxserver/smokeping:latest
This instructed flyctl to build image via this image (with no change) and that just worked.