S2i
S2I, or Source-to-Image, is a build technique that assembles application source code or binaries into a runnable container image using a builder image.
Quarkus in Action
Source-to-image is a build technique that assembles application source or binaries into a runnable container image using a builder image.
- How it is used
- Builds OpenShift container images from locally packaged Quarkus applications as part of deployment.
- How deep it goes
- Traces binary upload through BuildConfig, ImageStreamTag, and redeployment, with generated manifests and commands rather than build-system internals.
- Examples
- Uses an Inventory service manifest and deployment command, then applies the setup across car-rental services.
- What you can do after
- Apply it via the Quarkus OpenShift extension to build and deploy packaged services on OpenShift.
Developer Experience on Kubernetes
The source-to-image pattern builds a production-ready container image directly from application source code without requiring developers to author a Dockerfile or manage underlying build details.
- How it is used
- Packages applications for Kubernetes inner-loop work by turning source into a production-ready container image in one operation.
- How deep it goes
- Defines the pattern and contrasts Buildpacks and ko while deferring underlying containerization details to the selected tool.
- Examples
- Demonstrates packaging the Appointments service with Pack, Spring Boot Buildpacks integration, and ko before running it with Podman Compose.
- What you can do after
- Apply it via Pack, Spring Boot Buildpacks integration, or ko to package source without authoring Dockerfiles.
What to know first
- Open Container InitiativeThe Open Container Initiative is an open-governance project that defines interoperable standards for container images, runtimes, and distribution.
Related concepts
- Cloud Native Buildpacksimplemented by · Cloud Native Buildpacks are a specification and toolchain that transform application source code and metadata into runnable container images without requiring hand-written build instructions.
- container imageproduces · A container image is a packaged, generally immutable filesystem and metadata template used to create and run containers.
- BuildConfigused by · A BuildConfig is an OpenShift resource that defines how a build is triggered and how its output is produced.
- OpenShiftused by · OpenShift is Red Hat’s Kubernetes-based enterprise platform for developing, deploying, and operating containerized applications.
- quarkus-container-image-openshiftequivalent to · quarkus-container-image-openshift is a Quarkus extension that uploads built artifacts to OpenShift for image construction.
Questions about s2i
What is s2i?
S2I, or Source-to-Image, is a build technique that assembles application source code or binaries into a runnable container image using a builder image.
Which Manning books explain s2i?
Quarkus in Action and Developer Experience on Kubernetes.
What should I know before learning s2i?
Manning books that teach s2i usually introduce Open Container Initiative first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

