• Stars
    star
    180
  • Rank 213,097 (Top 5 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Reference implementation of the Cloud Native Buildpacks lifecycle

Lifecycle

Build Status GoDoc codecov CII Best Practices Gitpod ready-to-code

A reference implementation of the Cloud Native Buildpacks specification.

Supported APIs

Lifecycle Version Platform APIs Buildpack APIs
0.17.x* 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10
0.16.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.15.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.14.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
0.13.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 0.2, 0.3, 0.4, 0.5, 0.6, 0.7
0.12.x 0.3, 0.4, 0.5, 0.6, 0.7 0.2, 0.3, 0.4, 0.5, 0.6
0.11.x 0.3, 0.4, 0.5, 0.6 0.2, 0.3, 0.4, 0.5, 0.6
0.10.x 0.3, 0.4, 0.5 0.2, 0.3, 0.4, 0.5
0.9.x 0.3, 0.4 0.2, 0.3, 0.4
0.8.x 0.3 0.2
0.7.x 0.2 0.2
0.6.x 0.2 0.2

* denotes unreleased version

Usage

Build

Either:

  • analyzer - Reads metadata from the previous image and ensures registry access.
  • detector - Chooses buildpacks (via /bin/detect) and produces a build plan.
  • restorer - Restores layer metadata from the previous image and from the cache, and restores cached layers.
  • builder - Executes buildpacks (via /bin/build).
  • exporter - Creates an image and caches layers.

Or:

  • creator - Runs the five phases listed above in order.

Run

  • launcher - Invokes a chosen process.

Rebase

  • rebaser - Creates an image from a previous image with updated base layers.

Contributing

  • CONTRIBUTING - Information on how to contribute and grow your understanding of the lifecycle.
  • DEVELOPMENT - Further detail to help you during the development process.
  • RELEASE - Further details about our release process.

More Repositories

1

pack

CLI for building apps using Cloud Native Buildpacks
Go
2,294
star
2

spec

Specification for Cloud Native Buildpacks
Shell
244
star
3

samples

Samples for Cloud Native Buildpacks
Shell
182
star
4

rfcs

RFCs for Cloud Native Buildpacks
Shell
53
star
5

community

Community content for the Cloud Native Buildpacks (CNB) project
41
star
6

github-actions

End-user GitHub Actions related to Cloud Native Buildpacks
Go
39
star
7

docs

Web content for Cloud Native Buildpacks
HTML
27
star
8

libcnb

A non-opinionated language binding for the Cloud Native Buildpack Buildpack and Extension specifications
Go
24
star
9

tekton-integration

Buildpacks + Tekton
Shell
23
star
10

imgutil

Helpful utilities for working with images
Go
21
star
11

registry-index

Registry index for buildpacks.io
16
star
12

packs

Buildpack cloud builders for the classic v2a (Heroku-style) and v2b (CF-style) buildpacks
Go
15
star
13

pack-orb

A CircleCI Orb for using Cloud Native Buildpacks in CircleCI
Shell
10
star
14

ci

CI configuration for Cloud Native Buildpacks
HCL
9
star
15

forge

Go library for building and running pre-v3 buildpack apps using Docker
Go
7
star
16

resources

A list of resources related to running buildpacks on image-based platforms
6
star
17

libbuildpack

DEPRECATED - Go language binding for the Cloud Native Buildpacks API
Go
5
star
18

homebrew-tap

Ruby
4
star
19

registry-api

API for searching and reading the Buildpack Registry
Ruby
3
star
20

sample-java-app

HTML
3
star
21

knative-integration

ARCHIVED
Go
2
star
22

website

Website for Cloud Native Buildpacks
HTML
2
star
23

katacoda-scenarios

Katacoda Scenarios
Shell
2
star
24

stacks

Dockerfile
1
star
25

registry-namespaces

Namespace ownership for buildpacks.io
1
star