Swift to the cloud in a single step
summary
Shows how macOS builds produce Linux ELF64 binaries by using the static Linux SDK to cross‑compile, then a Swift Package Manager command plugin packages the binary into an OCI image, uploads it to a registry, and prints the image reference. A small Swift helper tool creates JSON manifests and tarball layers, push works to a local registry, and a one‑liner pipes that reference into podman or minikube for deployment, so the build → image → run loop completes. returns image reference
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:14Building Linux binaries
- 5:07Understanding container images
- 7:52Streamlining with SwiftPM
- 9:20Live demo of plugin
- 13:56Deploying to Kubernetes
- 15:00Flexibility of image references
- 16:46Cross-compilation resources
- 17:49Plugin installation and future
related talks
42mHow To Put Swift in a Box: Container Images From Scratch With Swift Container Plugin
26mPractical Cross-Platform Swift
35mSwift Workshop
06mSwift Superpowers #3
44mSwift Packages - Dependency Management of the Future
33mScaling Swift Development
26mSwift beyond Apple: Making Software for the Physical World
30mBuilding Swift Command Line Tools
