Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.57 KB

store.md

File metadata and controls

38 lines (24 loc) · 1.57 KB

Stores

A store resource is a repository of buildpacks packaged in buildpackages that can be used by kpack to build images.

The store will be referenced by a builder resource.

At this time only a Cluster scoped ClusterStore is available.

Cluster Store Configuration

apiVersion: kpack.io/v1alpha1
kind: ClusterStore
metadata:
  name: sample-cluster-store
spec:
  sources:
  - image: gcr.io/cf-build-service-public/node-engine-buildpackage@sha256:95ff756f0ef0e026440a8523f4bab02fd8b45dc1a8a3a7ba063cefdba5cb9493
  - image: gcr.io/cf-build-service-public/npm-buildpackage@sha256:5058ceb9a562ec647ea5a41008b0d11e32a56e13e8c9ec20c4db63d220373e33
  - image: gcr.io/paketo-buildpacks/builder:base
  • sources: List of buildpackage images to make available in the ClusterStore. Each image is an object with the key image.

Note: ClusterBuilders will also work with a prebuilt builder image if a builpack is not available in a buildpackage.

Updating a stack

The stack resource will not poll for updates. A CI/CD tool is needed to update the resource with new digests when new images are available.

Suggested buildpackages

The most commonly used buildpackages are paketo buildpacks.

Creating your own buildpackage

To create your own buildpackage with custom buildpacks follow the instructions on creating them and packaging them using the pack cli.