Let’s walk through a build that uses extensions, step by step. We will see an image extension that installs
the builder image, and switches the run image to an image that has
If you see output similar to the following, you’re good to go! Otherwise, start Docker and check again.
Client: Docker Engine - Community Version: 20.10.9 API version: 1.41 Go version: go1.16.8 Git commit: c2ea9bc Built: Mon Oct 4 16:08:29 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.9 API version: 1.41 (minimum version 1.12) Go version: go1.16.8 Git commit: 79ea9d3 Built: Mon Oct 4 16:06:34 2021 OS/Arch: linux/amd64 Experimental: false
cd <your preferred workspace directory>
The version should be at least
pack config experimental true pack config lifecycle-image --unset
As base image extension with Dockerfiles is currently an experimental feature, we must enable it in
We unset any custom lifecycle image that may have been provided to ensure that the latest version is used.
git clone https://github.com/buildpacks/samples.git