2023-02-14
Started coding. I have a library that list containers owned by my app (using containers labels) and run a new one (dummy, busybox for now). The client is for now a basic CLI for development.
I’m trying to compile with CGO_ENABLED=0
, but it don’t work.
CGO_ENABLED is a environment variable for the go compiler that allow the use of external C code, for compatibility. My project indirectly rely on github.com/containers/image which require CGO for signing.
Moreover, from Podman’s Makefile:
Podman does not work w/o CGO_ENABLED, except in some very specific cases.
So I will keep the CGO, but that means shared library (.so) files has to be present