# Install source-to-image with Homebrew, dnf

Tool for building source and injecting into docker images. Version 1.6.2 via Homebrew; verified 2026-06-04.

## Install

```sh
sudo av install brew:source-to-image
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install source-to-image
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install source-to-image
```

  Evidence: Fedora Rawhide package metadata: source-to-image from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:source-to-image
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/source-to-image>
- **Version:** 1.6.2
- **Source summary:** Tool for building source and injecting into docker images
- **Homepage:** <https://github.com/openshift/source-to-image>
- **Repository:** <https://github.com/openshift/source-to-image>
- **Upstream docs:** <https://github.com/openshift/source-to-image#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/openshift/source-to-image.git>
- **Last updated:** 2026-06-04T13:24:41Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- s2i (cli)
- s2i (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.2
- Package-manager updated: 2026-06-04
- Local data: ok
- Upstream repository: https://github.com/openshift/source-to-image
- info: No cached GitHub release or tag data was available.
## Project history and usage

Source-to-Image, commonly `s2i`, is OpenShift's CLI and workflow for building reproducible container images by injecting application source into builder images rather than requiring every application repository to carry its own Dockerfile.

### Project history

The GitHub repository was created in January 2014. Public releases show a 0.1 release in January 2015, a 1.0 release in June 2015, and continuing maintenance through the 1.x series.

The README frames S2I as both a toolkit and workflow. Its design centers on builder images with standard scripts such as `assemble`, `run`, optional `save-artifacts`, and optional `usage`, plus source-side files like `.s2iignore` and `.s2i/environment`.

### Adoption history

S2I is tied to OpenShift's application-build model and has been packaged for Homebrew and Fedora/DNF according to the input package metadata. Its README documents installation via Go, Homebrew, downloadable releases, and platform-specific binaries.

### How it is used

The canonical workflow is `s2i build <source location> <builder image> [tag]`, followed by running the produced container image. The CLI also includes commands such as `create`, `rebuild`, `generate`, `usage`, `version`, and `help`.

### Why package nerds care

Package nerds care because S2I sits at the boundary between language packaging, container image construction, and platform policy. It encodes buildpacks-like conventions in simple executable scripts while still producing ordinary container images.

### Timeline

- 2014: OpenShift source-to-image repository created.
- 2015: v0.1 public release published in January.
- 2015: v1.0 public release published in June.
- 2025: v1.5.0 release updated build containers and Docker dependencies.
- 2026: v1.6.x releases continued dependency and image maintenance.

### Related projects

- OpenShift uses S2I as part of its source-to-container build workflow.
- Builder images provide the `assemble`, `run`, `save-artifacts`, and `usage` scripts consumed by the `s2i` CLI.

### Sources

- <https://github.com/openshift/source-to-image#readme>
- <https://github.com/openshift/source-to-image/blob/master/docs/cli.md>
- <https://github.com/openshift/source-to-image/releases>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** source-to-image
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- dnf - source-to-image - 1.5.1-3.fc44: normalized package name match | Fedora Rawhide package metadata: source-to-image from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A tool for building artifacts from source and injecting into container images | https://github.com/openshift/source-to-image


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [colima](https://www.automicvault.com/pkg/brew/colima/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [container-canary](https://www.automicvault.com/pkg/brew/container-canary/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [dcp](https://www.automicvault.com/pkg/brew/dcp/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [dtop](https://www.automicvault.com/pkg/brew/dtop/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [mintoolkit](https://www.automicvault.com/pkg/brew/mintoolkit/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [tini](https://www.automicvault.com/pkg/brew/tini/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers, docker.
- [amazon-ecs-cli](https://www.automicvault.com/pkg/brew/amazon-ecs-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [ansible-builder](https://www.automicvault.com/pkg/brew/ansible-builder/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [hub-tool](https://www.automicvault.com/pkg/brew/hub-tool/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, containers, docker.

## Combined YAML source

View the package source record on GitHub. [combined/source-to-image.yml](https://github.com/automic-vault/db/blob/main/combined/source-to-image.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
