Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.18 KB

Wolfi Buildpacks

Paketo Buildpacks using the Wolfi stack.

Requirements

Install the pack cli

Create Base and Run images for the Wolfi Stack

cd base-image
docker build . -t cnbs/base-image:wolfi

(add --platform=linux/amd64 if on a Mac with an arm processor.)

cd run-image
docker build . -t cnbs/run-image:wolfi

(add --platform=linux/amd64 if on a Mac with an arm processor.)

Create a Builder to use the Wolfi Stack

cd builder
pack builder create wolfi-builder --config ./builder.toml

(add --target=linux/amd64 if on an arm Mac.)

Build a sample app using the wolfi-builder

git clone -b wolfi https://github.com/jbergfeld/hello-kubernetes.git
cd hello-kubernetes/src/app
pack build hello-wolfi --builder wolfi-builder
docker run --rm --net=host hello-wolfi

You can access the running app from your browser http://localhost:8080

Feedback always welcome!