The cf-toolsuite/java-buildpack for Java is a Cloud Native Buildpack with an order definition suitable for Java applications.
It is a derivative of paketo-buildpacks/java
paketo-buildpacks/apache-tomcat
paketo-buildpacks/apache-tomee
paketo-buildpacks/azure-application-insights
paketo-buildpacks/bellsoft-liberica
paketo-buildpacks/ca-certificates
paketo-buildpacks/clojure-tools
paketo-buildpacks/yarn
paketo-buildpacks/node-engine
paketo-buildpacks/datadog
paketo-buildpacks/dist-zip
paketo-buildpacks/encrypt-at-rest
paketo-buildpacks/environment-variables
paketo-buildpacks/executable-jar
paketo-buildpacks/google-stackdriver
paketo-buildpacks/gradle
paketo-buildpacks/image-labels
paketo-buildpacks/jattach
paketo-buildpacks/java-memory-assistant
paketo-buildpacks/leiningen
paketo-buildpacks/liberty
paketo-buildpacks/maven
paketo-buildpacks/procfile
paketo-buildpacks/sbt
paketo-buildpacks/spring-boot
paketo-buildpacks/syft
paketo-buildpacks/watchexec
cf-toolsuite/spring-boot-runtime-metadata-buildpack
This buildpack is released under version 2.0 of the Apache License.
gh repo clone cf-toolsuite/java
- pack CLI
- Docker Desktop or Docker Engine
- docker CLI
- Docker Hub account (alternatively, another container registry provider) and credentials
pack buildpack package cftoolsuite/java-buildpack:latest --config ./package.toml --format image
docker login docker.io -u cftoolsuite -p <dckr_pat>
pack buildpack package cftoolsuite/java-buildpack:latest --config ./package.toml --format image --publish
Replace
<dckr_pat>
above with personal access token for named user account on https://hub.docker.com
If you're in the midst of updating the buildpack or builder, you can make use of scripts:
./scripts/start-local-registry.sh
./scripts/build.sh local
./scripts/stop-local-registry.sh
./scripts/teardown.sh