apko vs Source-to-Image
apko
apko.devSource-to-Image
github.comSide by side
| Figure | apko | Source-to-Image |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Container Build Tools | 7.8 (#14) | 8.1 (#12) |
| Integrations | The project documents use with Docker and provides an apko build action for GitHub Actions CI/CD pipelines. | The README documents use with Docker and gives examples using OpenShift, UBI, Ruby, and WildFly images. |
| Purpose | apko builds and publishes OCI container images from apk packages. | Source-to-Image is a toolkit and workflow for building reproducible container images from source code. |
| What it does | apko is an open-source command-line tool that builds container images from APK packages using declarative YAML configuration. | Source-to-Image (S2I) builds reproducible, runnable container images by injecting application source into a builder image. |
Plans
In their own words
Source-to-Image
Source-to-Image is a free, Apache-2.0 toolkit for building reproducible container images from source code. It places source in a builder image, lets that container prepare the application, and outputs a ready-to-run image. A documented workflow can build from a Git repository without a Dockerfile. Builder images may provide assemble and run scripts, plus optional scripts for saving artifacts and explaining usage. Compatible builders can reuse artifacts from an earlier output when incremental settings and scripts are supplied. A .s2iignore file filters source files and directories, while .s2i/environment defines build variables that also appear in the output image. S2I can use an OnBuild strategy with images containing Dockerfile ONBUILD instructions. Examples cover Docker, OpenShift, UBI, Ruby, and WildFly. It runs on Linux, macOS, and Windows, with Docker 1.6+ and Go 1.7.1+ listed as dependencies.