cncf-toc/proposals/buildpacks.adoc

117 lines
5.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

== Cloud Native Buildpacks
*Name of project:* Cloud Native Buildpacks
*Description:*
Buildpacks are application build tools that provide a higher level of abstraction compared to Dockerfiles.
Conceived by Heroku in 2011, they establish a balance of control that reduces the operational burden on developers and supports operators who manage apps at scale.
Buildpacks ensure that apps meet security and compliance requirements without developer intervention.
They provide automated delivery of both OS-level and application-level dependency upgrades, efficiently handling day-2 app operations that are often difficult to manage with Dockerfiles.
Cloud Native Buildpacks aim to unify the buildpack ecosystems with a platform-to-buildpack contract that is well-defined and that incorporates learnings from maintaining production-grade buildpacks for years at both Pivotal and Heroku, the largest contributors to the buildpack ecosystem.
Cloud Native Buildpacks embrace modern container standards, such as the OCI image format.
They take advantage of the latest capabilities of these standards, such as remote image layer rebasing on Docker API v2 registries.
*Statement on alignment with CNCF mission:*
The Cloud Native Buildpacks project is well-aligned with the CNCF's mission statement of supporting cloud native systems.
The next generation of buildpacks will aid developers and operators in packaging applications into containers (1a), allow operators to efficiently manage the infrastructure necessary to keep application dependencies updated (1b), and be available via well-defined interfaces (1c).
The Cloud Native Buildpacks project is complimentary to other CNCF projects like Helm, Harbor, and Kubernetes.
Cloud Native Buildpacks produce OCI images that can be managed by Helm, stored in Harbor, and deployed to Kubernetes.
Additionally, the project roadmap includes creating a Kubernetes CRD controller (or alternatively, adapting Knative's https://github.com/knative/build[Build CRD]) to enable cloud builds using buildpacks.
We agree with the CNCFs “no kingmakers” principle, and propose Cloud Native Buildpacks as an alternative to Dockerfiles for certain use cases, not as a one-size-fits-all solution for building cloud apps.
*Sponsors from TOC:* Brian Grant & Alexis Richardson
*Preferred maturity level:* Sandbox
*License:* Apache License v2.0
*Source control:* Github (https://github.com/buildpack)
*External Dependencies:*
* https://github.com/BurntSushi/toml[github.com/BurntSushi/toml] (MIT)
* https://github.com/docker/docker[github.com/docker/docker] (Apache-2.0)
* https://github.com/docker/go-connections[github.com/docker/go-connections] (Apache-2.0)
* https://github.com/golang/mock[github.com/golang/mock] (Apache-2.0)
* https://github.com/google/go-cmp[github.com/google/go-cmp] (NewBSD)
* https://github.com/google/go-containerregistry[github.com/google/go-containerregistry] (Apache-2.0)
* https://github.com/google/uuid[github.com/google/uuid] (NewBSD)
* https://github.com/nu7hatch/gouuid[github.com/nu7hatch/gouuid] (MIT)
* https://github.com/onsi/ginkgo[github.com/onsi/ginkgo] (MIT)
* https://github.com/onsi/gomega[github.com/onsi/gomega] (MIT)
* https://github.com/sclevine/spec[github.com/sclevine/spec] (Apache-2.0)
* https://github.com/spf13/cobra[github.com/spf13/cobra] (Apache-2.0)
* https://gopkg.in/yaml.v2[gopkg.in/yaml.v2] (Apache-2.0)
* https://code.cloudfoundry.org/buildpackapplifecycle[code.cloudfoundry.org/buildpackapplifecycle] (Apache-2.0)
* https://code.cloudfoundry.org/cli[code.cloudfoundry.org/cli] (Apache-2.0)
*Initial Committers:*
Founding Maintainers:
* Stephen Levine (Pivotal)
* Ben Hale (Pivotal)
* Terence Lee (Heroku)
* Joe Kutner (Heroku)
Additional Maintainers:
* Emily Casey (Pivotal)
* Jacques Chester (Pivotal)
* Dave Goddard (Pivotal)
* Anthony Emengo (Pivotal)
* Stephen Hiehn (Pivotal)
* Andreas Voellmer (Pivotal)
*Infrastructure requests (CI / CNCF Cluster):*
_Development needs:_
We currently use Travis for CI, but we may want to use CNCF resources to deploy Concourse CI.
Additionally, we will need access to all common Docker registry implementations for performance and compatibility testing.
This includes deploying Harbor to CNCF infrastructure as well as access to DockerHub, GCR, ACR, ECR, etc.
_Production needs:_
Additionally, we would like to use CNCF resources to host a buildpack registry containing buildpacks and buildpack dependencies.
*Communication Channels:*
* Slack: https://buildpacks.slack.com
* Mailing List: https://lists.cncf.io/g/cncf-buildpacks (proposed)
* Issue tracker: https://github.com/orgs/buildpack/projects
*Website:* https://buildpacks.io
*Release methodology and mechanics:*
Continuous release process made possible by reliable automated tests.
We plan to cut small releases whenever possible.
*Social media accounts:*
* Twitter: @buildpacks_io
*Existing sponsorship*: Pivotal and Heroku
*Community size:*
_Existing buildpacks:_
Cloud Foundry Buildpacks:
1000+ stars, 4,000+ forks, 8 full-time engineers
Heroku Buildpacks:
5,500+ stars, 12,000+ forks, 5 full-time engineers
_Cloud Native Buildpacks project:_
New project with 10 active contributors from Pivotal and Heroku.