4 ms·
You hit this real quick when trying to build container images from the scratch. Theoretically you can drop a Go binary into a blank rootfs and it will run. This
by nunez 11mo ago
You hit this real quick when trying to build container images from the scratch. Theoretically you can drop a Go binary into a blank rootfs and it will run. This works most of the time, but anything that depends on Go's Postgres client requires libpq which requires libc. Queue EFILE runtime errors after running the container.
- nateb2022 11mo ago> anything that depends on Go's Postgres client requires libpq which requires libc Try https://github.com/lib/pq https://github.com/lib/pq
- AlbinoDrought 11mo agoI've also seen https://github.com/jackc/pgx https://github.com/jackc/pgx used in many projects
- mxey 11mo ago> For users that require new features or reliable resolution of reported bugs, we recommend using pgx which is under active development.