Paketo buildpacks are a set of modular Buildpacks, written in Go. Paketo Buildpacks provide language runtime support for applications. They leverage the Cloud Native Buildpacks framework to make image builds easy, performant, and secure. Use this tag when asking questions about or experiencing problems with buildpacks published under the Paketo brand.
Questions tagged [paketo]
75 questions
2
votes
1 answer
How to switch to a different jdk distro from spring boot gradle plugin buildBootImage
Using Spring boot and gradle to build docker image for deploy on my K8s infrasctructure. I would like to switch from Paketo's Liberica OpenJDK distro to Adoptium's OpenJDK on the docker image. When I make the changes indicated on Paketo's site,…

Bill Pfeiffer
- 926
- 8
- 20
2
votes
1 answer
Dockerfile "VOLUME" equivalent when using Spring Boot Paketo Buildpack
I'm currently working on migrating the containerization of Spring Boot App from Dockerfile file to the Spring Boot Maven Plugin build-image.
Now I am wondering how to configure a volume in this scenario. The equivalent to having a VOLUME…

Wildsau
- 405
- 5
- 9
2
votes
1 answer
Using cloud-native buildpacks with Spring Boot < 2.3
Spring Boot 2.3 introduced support for building optimized Docker images using the Spring Boot maven/gradle plugin. The spring-boot:build-image goal does a bunch of things:
Create the layers index
Invoke the Paketo buildpack
Build the OCI…

metacubed
- 7,031
- 6
- 36
- 65
1
vote
1 answer
Add-Opens Entry in Java MANIFEST.MF Doesn't Work In Docker Image Built by Spring Boot Plugin
I've got a Spring Boot application (V3 + JDK 17) that prints a warning to open some modules (because of JRuby):
2023-07-14T11:13:35.651Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass…

Rad
- 4,292
- 8
- 33
- 71
1
vote
0 answers
Error: Cannot find module 'express' while deploying on fly.io
when i try to deploy my app on my fly.io server, i get this error :
Error: Cannot find module 'express'
Require stack:
- /workspace/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load…

Evilink
- 13
- 2
1
vote
1 answer
IBM Cloud Code Engine: Python app built from source fails to deploy
I have a Python Flask app in a Git repository. I wanted to deploy it from source in an IBM Cloud Code Engine project. I configured the public Git repo and the API key for the container registry. The build strategy is set to Cloud Native Buildpack…

data_henrik
- 16,724
- 2
- 28
- 49
1
vote
1 answer
Spring Boot Build Image with Health Check
I'm building my Docker image using Spring Boot's built in Gradle :bootBuildImage task, which is quite convenient, because I don't have to maintain my own Dockerfile.
The Gradle task uses the Paketo Bionic Base Stack under the hood and will build a…

Stefan Haberl
- 9,812
- 7
- 72
- 81
1
vote
1 answer
Specifying additional CA certificate bindings in the Spring Boot Gradle plugin
Is it possible to show some examples of how to specify additional CA certificate bindings in the Spring Boot Gradle plugin?
I have tried the following:
bootBuildImage {
bindings = […

pumpump
- 361
- 2
- 15
1
vote
0 answers
paketo-buildpack spring-boot bootBuildImage ca-certificates binding issue
I am trying to attach ca-certificates (pem files) to the docker image produced by spring-boot gradle plugin(buildpacks). The command I am using is ./gradlew bootBuildImage. This is working fine locally and is adding the certificates but when I run…

theo
- 915
- 1
- 9
- 28
1
vote
0 answers
Spring Boot build with Buildpacks
I have this a Spring Boot application with the following configurations
org.springframework.boot
spring-boot-maven-plugin
…

Navigator
- 2,871
- 4
- 17
- 27
1
vote
1 answer
How do I enable a Cloud Native Buildpacks builder to detect my Gradle Java project's Java version?
I'm having trouble getting either of the two Cloud Native Buildpacks builders I've tried (gcr.io/buildpacks/builder:v1 and paketobuildpacks/builder:base) to fully detect my desired Java version so that the right JVM is used to build my project and…

Matt Welke
- 1,441
- 1
- 15
- 40
1
vote
1 answer
How to solve the problem with docker run while running image of Spring Boot App
I am new at Docker and trying to build and run my own container with Spring Boot Application. It runs on Kotlin and Gradle.
I have built the image with simply this command, provided by gradle with spring boot plugin (id("org.springframework.boot")…

Lackier
- 11
- 2
1
vote
1 answer
Configure container image labels using CNB Paketo Image-Labels-Buildpack and the lifecycle creator
We're using a CNB builder image inside a GitLab CI/CD pipeline in order to automatically build our application and bake it into an image.
Because we can't use docker in docker on our container orchestrator, we can not use the pack CLI und must…

VeryDogeWow
- 142
- 7
1
vote
2 answers
Heroku Buildpacks with the CNB lifecycle creator - how to specifiy custom image labels?
We're using Heroku Buildpacks inside a GitLab CI/CD pipeline by triggering a job running the heroku builder image and then invoking the /cnb/lifecycle/creator directly, instead of using the pack CLI. This is because be can't use docker in docker on…

VeryDogeWow
- 142
- 7
1
vote
1 answer
Are Cloud Native Buildpacks just an automatic way to perform a multi-stage container image build?
I started to use pack to build container images for my applications. I used different builders for different apps: gcr.io/buildpacks/builder for a Node.js app and paketobuildpacks/builder:tiny for a Clojure app.
Not having to write a Dockerfile is…

jackdbd
- 4,583
- 3
- 26
- 36