Replies: 1 comment
-
Not directly. The issue is that the default builder comes with a lot of buildpacks and sometimes because of dependency versions, you end up with multiple versions of a supporting buildpack like ca-certificates. Given this, you have to tell the tool which one specifically it is that you want. Now, because you're specifying your list of buildpacks directly in project.toml already, what you could do is to use one of the builders we publish that is "buildpack-less". These are the same builder, but just sans buildpacks. This works because the tool will take your list of buildpacks and overlay them onto the builder that you specify. So if you're using the Paketo base buildpack, then you could add:
or if you're using tiny, you could add:
Since it looks like you have a Java app, I'd highly recommend tiny. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm using buildpack paketo-buildpacks/amazon-corretto as alternate JVM. To provide a custom CA in the JVM truststore, i'have followed the advice found here : https://paketo.io/docs/howto/java/#use-an-alternative-jvm
I put in my project.toml the buildpacks :
As you can see, i had to put a version in "ca-certificates", otherwise this error was thrown :
processing buildpacks order: unable to resolve version: multiple version
:I would prefer not to fix a version in ca-certificates, I just want to order the buildpacks.
Is there a way to do this ?
Beta Was this translation helpful? Give feedback.
All reactions