# Install source-to-image with Homebrew, dnf

Tool for building source and injecting into docker images. Version 1.6.3 via Homebrew; verified 2026-07-23. Also installable with dnf: sudo dnf install source-to-image.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:source-to-image
- **Package manager:** Homebrew
- **Version:** 1.6.3
- **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>
- **Last updated:** 2026-07-23T09:57:54Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- s2i (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.6.3
## 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

## Other Package-Manager Records

- dnf - source-to-image - 1.5.1-4.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A tool for building artifacts from source and injecting into container images | https://github.com/openshift/source-to-image


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
