Regarding the SSL path issue discussed above by @natanrolnik and @sebsto. One potential solution might be to make a small change in swift-corelibs-foundation to allow for setting the path with an environment variable rather than relying on the default location that the Ubuntu based docker image uses. There already is support for this feature but it is limited to Android.
#if os(Android) || os(Linux)
...
if let caInfo = getenv("URLSessionCertificateAuthorityInfoFile") {
...
try! CFURLSession_easy_setopt_ptr(rawHandle, CFURLSessionOptionCAINFO, caInfo).asError()
}
#endif
We could change this line to also allow for Linux to configure the environment variable.