Closed jihuin closed 8 months ago
Thank you @jihuin and apologies, we need to update the tutorial with the latest version of samples. A fix will be coming soon
We had a bunch of work to do to fix this. We had to update the samples to a later buildpack API and update pack
itself (first to a pre-release, then ...). But it should be fixed. Though we're aware of #170 still.
Problem
Extension samples didn't work as described in tutorial: https://buildpacks.io/docs/extension-guide/create-extension/why-dockerfiles/
Issue 1: Buildpack API incompatibility when creating the builder
I followed the tutorial to set up the local env and create the builder. Got the error of Buildpack API incompatibility:
I added the following snippet to "$PWD/samples/builders/alpine/builder.toml" as a fix:
Issue 2: hello-extensions buildpack didn't pass the detection
Command:
The expected behavior is that
hello-extensions
buildpack passes the detection but failes the build. The result I got was the detection failed.Output:
Environment