Replies: 1 comment
-
The trick with Paketo buildpacks is that we write them in Go, so they need compiled before you can run them as a buildpack. We have a tool for doing that, libpak-tools. You can use libpak-tools package compile if you want to build the buildpack into a local directory & point to that directory with You can also run libpak-tools package bundle which does the same thing but then produces an image in your Docker daemon with the buildpack. You can then Either works. As an aside, you can do this without libpak-tools, but the tool automates the process so we recommend everyone use the tool. One last note...
When you use the The easiest way to figure out the full set of buildpacks is to Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
I'm (very) new to buildpacks and having a problem with using a custom buildpack from a local directory.
default buildpack
1st, I can use the default buildpack for building and running a Java application (sample app downloaded from https://start.spring.io/) One little log for it: bp1.log
buildpack from a local directory
Unfortunately I can't get (the same?) bellsoft-liberica work for the same scenario from a local folder. I try it like this (after running
scripts/build.sh
):and get this error:
The full log bp2.log
playing with detect and build
detect
script, I put the binaries produced byscripts/build.sh
into thebuildpacks/bellsoft-liberica/bin
. Detect fails again.detect
by a stub (with exit 0) thenpack build
finishes without gradle buildbuild
doesn't help either.I suspect there is a little thing I simply overlook. Please drop me a hint. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions