When building debezium-connect image on Gitlab runners had error
* getaddrinfo() thread failed to start
* Could not resolve host: packages.confluent.io
* Closing connection 0
curl: (6) getaddrinfo() thread failed to start
After running all commands in Container found the problem
Step 4/11 : RUN microdnf upgrade --refresh && microdnf -y install curl && microdnf clean all
---> Running in fdbcae0c9647
(microdnf:7): GLib-ERROR **: 11:03:33.774: file ../glib/gthread-posix.c: line 1340 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'
The command '/bin/sh -c microdnf upgrade --refresh && microdnf -y install curl && microdnf clean all' returned a non-zero code: 133
Bug on Fedora issue tracker https://bugzilla.redhat.com/show_bug.cgi?id=2019901
Fix by running a container with security options
podman run -it --rm --security-opt seccomp=unconfined registry.access.redhat.com/ubi9-beta/ubi-minimal
or add config to Runner
cat /etc/gitlab-runner/config.toml
....
security_opt = ["seccomp:unconfined"]
....