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
12
votes
1 answer
How to solve Memory issues with Paketo buildpack used to build a spring-boot app?
I am building Docker image with the spring-boot-maven-plugin that is deployed to AWS BeanStalk. I use the plugin through the 2.4.3 spring boot starter dependency)
However, when the container is started, I get the error below.
I am a bit new in the…

edbras
- 4,145
- 9
- 41
- 78
11
votes
3 answers
How to add extra linux dependencies into a spring-boot buildpack image?
I updated my spring-boot application to use buildpacks to create my docker-image instead of a dockerfile. I also use Apache POI in my application and since that update I get an error when generating an xlsx file. After some digging, I think it…

Pieter Van der Haegen
- 328
- 3
- 12
10
votes
1 answer
Cache Cloud Native Buildpacks/Paketo.io pack CLI builds on GitHub Actions (e.g. with Spring Boot/Java/Maven buildpacks)?
I'm working on a Spring Boot application that should be packaged into a OCI container using Cloud Native Build Packs / Paketo.io. I build it with GitHub Actions, where my workflow build.yml looks like this:
name: build
on: [push]
jobs:
…

jonashackt
- 12,022
- 5
- 67
- 124
10
votes
1 answer
Execute Spring buildpacks when calling docker-compose build command
I'm using Spring buildpacks introduced by Spring Boot 2.3.0.M1 for creating Docker images of Spring based applications. Everything goes well, I can create docker images for each application by executing ./gradlew bootBuildImage Gradle task, point…

Michal
- 113
- 8
7
votes
1 answer
spring boot bootBuildImage paketo ssl cert location?
TLDR: spring boot gradle bootBuildImage task fails with x509 cert validation error (due to zscaler). Where to add the root cert?
Info
We're using spring boot's (2.3) new "bootBuildImage" to build docker images.
Recently our IT group turned on…

user331465
- 2,984
- 13
- 47
- 77
6
votes
0 answers
Spring-Boot docker build with paketo fails on Bitbucket pipelines
My spring-boot projekts builds its docker image on bitbucket.org using the spring-boot-maven-plugin with its build-image goal. On pipelines we always get the following maven error:
Docker API call to 'localhost:2375/v1.24/containers/create' failed…

Laures
- 5,389
- 11
- 50
- 76
5
votes
1 answer
Spring Boot in Docker build by buildpack cannot load Font
My Spring Boot application runs in Docker and is build by gradlew bootBuildImage.
When run in Docker container application cannot load fonts
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.FontConfiguration.getVersion(Unknown…

Bartosz Bilicki
- 12,599
- 13
- 71
- 113
5
votes
5 answers
Cloud Native Buildpacks/Paketo with Java/Spring Boot: How to configure different JDK download uri (e.g. no access to github.com)
Having a Spring Boot app I tried to build it using the spring-boot-maven-plugin goal mvn spring-boot:build-image. But the build fails downloading the bellsoft-jre11.0.9.1+1-linux-amd64.tar.gz from github.com, since I don't have access to it from my…

jonashackt
- 12,022
- 5
- 67
- 124
5
votes
2 answers
ERROR: failed to launch: determine start command: when there is no default process a command is required
After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script:
script:
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
- apk add openjdk11
- ./gradlew…

Stuck
- 11,225
- 11
- 59
- 104
3
votes
0 answers
Paketo buildpack bindings not working when using "external" docker daemon
I have a Jenkins setup with a master and multiple worker/slave nodes. The workers are docker containers running on VMs. The containers themselves have no docker daemon running (nor installed). They mount /var/run/docker.sock from the host for…

Max N.
- 993
- 1
- 12
- 31
3
votes
2 answers
Use Paketo.io / CloudNativeBuildpacks (CNB) in GitLab CI with Kubernetes executor & unprivileged Runners (without pack CLI & docker)
We want to use Paketo.io / CloudNativeBuildpacks (CNB) GitLab CI in the most simple way. Our GitLab setup uses an AWS EKS cluster with unprivileged GitLab CI Runners leveraging the Kubernetes executor. We also don't want to introduce security risks…

jonashackt
- 12,022
- 5
- 67
- 124
3
votes
0 answers
how to build OCI images with additional packages using Spring Boot buildpack
I am using Spring Boot with Gradle plugin https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#build-image
to build OCI images. This works fine for basic use case (web application packaged as jar inside image). I more…

Bartosz Bilicki
- 12,599
- 13
- 71
- 113
3
votes
0 answers
Cannot compile spring app with graalVM when adding -agentlib options
I am currently stuck on a weird issue. I am doing the migration from a SpringBoot JVM app to a GraalVM native one.
To acheive this, I need to override manually the reflectioc-config.json made by GraalVM. To do this, i want to get the autogenerate…

Nicolas B
- 89
- 5
3
votes
1 answer
spring boot buildpack always downloads latest packeto images from git
I have created an image out of my spring boot app 2.5 version using buildpack using below command .
./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=bootiful/demo
however every time i rebuild the image if there is change in the…

darshan kamat
- 374
- 7
- 23
2
votes
2 answers
Why is my Gitlab-CI service failing on some runners?
I'm using Gitlab-CI to build my application and have a weird error on some runners (Docker executors) when my service is starting. Indeed, on some runners, the service crashes at startup with a ClassNotFoundException, and works perfectly on others…

Xavier FRANCOIS
- 652
- 4
- 15