spring-boot-native-image

module
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Apache-2.0

README

gcr.io/paketo-buildpacks/spring-boot-native-image

The Paketo Spring Boot Native Image Buildpack is a Cloud Native Buildpack that creates native images from Spring Boot applications.

Behavior

This buildpack will participate all the following conditions are met

  • $BP_BOOT_NATIVE_IMAGE is set

The buildpack will do the following:

  • Creates a GraalVM native image and removes existing bytecode.

Configuration

Environment Variable Description
$BP_BOOT_NATIVE_IMAGE Whether to build a native image from the application. Defaults to false.
$BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS Configure the arguments to pass to native image build

Bindings

The buildpack optionally accepts the following bindings:

Type: dependency-mapping
Key Value Description
<dependency-digest> <uri> If needed, the buildpack will fetch the dependency with digest <dependency-digest> from <uri>

License

This buildpack is released under version 2.0 of the Apache License.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL