The podman binary is an alternative to docker that might be used by some people in preference. In this use case it's a drop in replacement, we can just check for it, else we just use docker as before.
Signed-off-by: Peter Robinson pbrobinson@gmail.com
Pull-Request has been merged by asamalik
Thanks!
This is great! Thanks Peter!
I was looking at running it as a non root too, but I had a few issues, once i have that working I'll do another PR to improve this further.
Yeah the build.sh should run as a non-root fine, but the web server exposes a port and podman doesn't* support that as a non-root.
* well at least the last time I've checked
Check with @ignatenkobrain as he uses podman in the FPC docs. He also uses a python based webserver that I think is default installed in Fedora.
The podman binary is an alternative to docker that might be used
by some people in preference. In this use case it's a drop in
replacement, we can just check for it, else we just use docker
as before.
Signed-off-by: Peter Robinson pbrobinson@gmail.com