Create another ClusterSupplyChain CRD able to build a quarkus app using the quarkus builder and not the Paketo java builder.
Why: The Paketo java builder proposed on TAP (see hereafter the list of the images - command kubectl get clusterbuilders.kpack.io/default) do not support to build a Quarkus application !
The error reported by TAP can be reproduced using pack
git clone git@github.com:halkyonio/quarkus-tap-petclinic.git && cd quarkus-tap-petclinic
pack build quarkus_app -p ./ -B paketobuildpacks/builder:base
docker run -d -p 8080:8080 -e PORT=8080 quarkus_app
docker logs f494f6ae8a9e
ERROR: failed to launch: determine start command: when there is no default process a command is required
Enhancement
Create another
ClusterSupplyChain
CRD able to build a quarkus app using the quarkus builder and not the Paketojava
builder.Why: The Paketo
java builder
proposed on TAP (see hereafter the list of the images - commandkubectl get clusterbuilders.kpack.io/default
) do not support to build a Quarkus application !The error reported by TAP can be reproduced using pack
FYI: Here is doc explaining the Workload and supply chain which could help to design a new supplychain where we could specify a quarkus
image-builder
and a quarkus selector: https://cartographer.sh/docs/v0.2.0/architecture/#clustersupplychainImage builder
Snippet code of the
ClusterSupplyChain/source-to-url
- image-builder Command used:kubectl get clustersupplychains.carto.run/source-to-url -o yaml
TAP - Paketo images