Mordil
(Nathan Harris)
1
Since FoundationXML and FoundationNetworking have been created, should we now remove libcurl and libxml from the slim variant of the official Docker images?
2 Likes
compnerd
(Saleem Abdulrasool)
2
FoundationNetworking is based on curl and FoundationXML on libxml2. Removing the libraries would break anything using Foundation.
Mordil
(Nathan Harris)
3
@compnerd It should only "break" using those two "submodules" of Foundation, if you don't install the dependencies yourself, right?
In hindsight, I see the main point though: Foundation is part of the Swift toolchain, and the Docker images should support the entire toolchain's runtime.
compnerd
(Saleem Abdulrasool)
4
Correct on both counts. It is quite common to use those submodules, and plutil is a perfect example. That tool, which is part of Foundation, requires FoundationXML and thus would not function.