Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 975 Bytes

buildpacks.md

File metadata and controls

28 lines (16 loc) · 975 Bytes

Build Container Image With Cloud Native Buildpacks (CNB)

The Cloud Native Buildpacks project takes source code as input and then outputs an Open Container Initiative (OCI)-compliant container image. Cloud Native Buildpacks provide a dead-simple developer experience while giving platform teams the ability to control and regulate how images are built.

There are many ways to implement Cloud Native Buildpacks. Here we will use the pack CLI which is maintained by the Cloud Native Buildpacks project.

Setup

Do

export TAG=v0.0.1

yq --inplace ".tag = \"v0.0.1\"" settings.yaml

pack config default-builder paketobuildpacks/builder:tiny

pack build cncf-demo:$TAG

docker image ls

Continue The Adventure