~/talk

How To Put Swift in a Box: Container Images From Scratch With Swift Container Plugin

Talkat Open Source Summit North America 2025 · 2025-06-23..06-25· [swift]
links:none on file
slides:none on file

Demonstrates building Linux container images directly from Swift Package Manager using Swift Container Plugin, cross‑compiling Linux binaries on macOS with static SDKs or custom dynamic SDKs produced by Swift SDK generator (installed via Swiftly), creating image layers by hand (manifest, config, gzipped tar layers) and uploading them with registry HTTP calls, then running the result on macOS with the new container runtime (micro‑VM per instance) and containerization framework (VM init); the automated plugin produces a pullable image reference and the demos run successfully.

AI-written summary · about

  1. 0:00Swift and containers intro
  2. 3:13Why Swift for services
  3. 7:02Hummingbird web service
  4. 8:48Swift Container Plugin demo
  5. 13:12Cross-compiling Swift for Linux
  6. 15:42Swift SDKs for cross-compile
  7. 17:48Dynamic Swift SDKs
  8. 20:38Container image structure
  9. 25:17Building images from scratch
  10. 29:48Upload images with curl
  11. 30:51Automate builds with SPM
  12. 31:55Run containers with Swift tool
  13. 32:38Swift Container runtime
  14. 35:24Containerization in Xcode
  15. 40:18Summary and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.