How can I configure the image created by the bootBuildImage command?
Asked Answered
S

0

8

Using Spring Native and Gradle, with bootBuildImage Gradle command:

...
bootBuildImage {
    builder = 'paketobuildpacks/builder:tiny'
    environment = ['BP_NATIVE_IMAGE': 'true']
    imageName = "demo-native"
}
...

I can create a Docker image.

How can I configure the image, for example adding an HEALTHCHECK or modifying the ENTRYPOINT with a custom configuration the same way I can do within a Dockerfile???

Shockey answered 10/6, 2021 at 16:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.