499 questions
2
votes
1
answer
111
views
Heroku ruby buildpack breaks on second deployment push
I've upgraded Ruby from Ruby 3.1.7 to Ruby 3.2.8; after that, I've encountered a situation where my ruby bundle works for the first deployment on Heroku-deployed servers, but all subsequent ...
Advice
2
votes
4
replies
136
views
How to integrate JaCoCo into a spring boot OCI image to measure E2E testing code coverage?
I am packaging my Spring Boot App with the Spring Boot gradle plugin.
tasks.bootBuildImage {
builder.set("paketobuildpacks/builder-jammy-full:latest")
imageName.set(devImageName)
...
0
votes
1
answer
319
views
Can not build Cloud Native image using spring boot 3.4.4 and Maven on Windows
I have configured POM according to spring boot documentation https://docs.spring.io/spring-boot/how-to/native-image/developing-your-first-application.html
GraalVM and native image is installed.
Docker ...
2
votes
0
answers
118
views
Spring Boot's bootBuildImage failed with '400 Bad Request: malformed Host header'
I have the build.gradle setting
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.4'
id 'io.spring.dependency-management' version '1.1.7'
}
tasks.named("bootBuildImage&...
1
vote
0
answers
90
views
How to Add Volumes to a Docker Image Built with Paketo Buildpacks in Spring Boot
I am building a Docker image for my Spring Boot application using spring-boot:build-image, which leverages Paketo Buildpacks. However, I need to define certain directories (e.g., /tmp and /home) as ...
1
vote
1
answer
119
views
Using CNCF Buildpacks on Bitbucket Pipelines
I'm experimenting with CNCF Buildpacks' pack tool to generate container images in BitBucket pipelines but I'm getting the following error:
ERROR: failed to build: failed to create 'creator' container: ...
0
votes
1
answer
260
views
Add volumes to docker image using Paketo for Spring Boot
How to add specific volumes to the image using Paketo and build-pack:
Example :
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-...
0
votes
1
answer
3k
views
Package 'libasound2' has no installation candidate while migrating heroku-24
i have nodejs application running on heroku-22 and i am migrating it to heroku-24
this is buildpack i am using
and aptfile
ca-certificates
fonts-liberation
git
libappindicator3-1
libasound2
...
0
votes
1
answer
321
views
spring build-image does not work with DOCKER_HOST different than /var/run/docker.sock
It looks like spring-boot:build-image does not respect the DOCKER_HOST environment variable which is on my host: unix:///run/user/1000/docker.sock
Ubuntu Installation
Installation of Docker CE
...
0
votes
1
answer
93
views
Added jprofiler buildpack to Spring Boot app not honoring `BPL` flag
I'm experiencing a behavior I don't understand. Is this a bug or am I on the wrong track?
When building a container image with the Spring Boot mvn plugin, I can't contribute custom buildpacks, in a ...
3
votes
1
answer
163
views
Add additional Java libraries to the spring boot container
Since some libraries contain licenses that do not allow distribution, customers who want to run our software must get the libraries by themselves and add these to the spring boot application.
...
2
votes
2
answers
338
views
Spring Boot Buildpacks fails to build - unlinkat /workspace/BOOT-INF: permission denied
I have a functioning spring-boot 3.3.3 service I'm trying to compile in native mode inside a podman container with the command:
mvnw clean package -Pnative spring-boot:build-image -Ddocker....
2
votes
2
answers
1k
views
How to include curl in image built with bootbuildimage (spring boot) that uses Paketo Buildpacks
I have the below Dockerfile and part of a customization of the bootBuildImage gradle task.
My goal is to build an image that contains curl (and a minimal shell, /bin/sh to execute I think).
I use the ...
0
votes
1
answer
842
views
How to specify target architecture when using Spring Boot gradle task bootBuildImage
I'm trying to build an ARM image on an amd64 node.
This documentation about buildpacks states that I can do it using heroku/builder:24 as the builder image and passing the platform as a parameter --...
0
votes
1
answer
100
views
"Multi buildpack" app not detecting multiple technologies
Context
I have a pretty basic JHipster-generated application (Spring Boot + React)
Node version is v20.15.0, java version is 21.
Locally, simply running ./mvnw works, my app starts correctly, I can ...
0
votes
0
answers
124
views
File permissions in container, built with spring-boot-maven-plugin build-image-no-fork
I'm moving from a classic jar deployment to a containerized deployment of my java 21 application.
For that purpose I like to create my container image with spring-boot-maven-plugin with the goal build-...
0
votes
1
answer
53
views
Is it possible to download the existing buildpacks filename ".zip" from cloud Foundry to my local machine?
We have API for Get a Buildpack, but I cant find download option here
Content-Type: application/json
{
"guid": "fd35633f-5c5c-4e4e-a5a9-0722c970a9d2",
"created_at&...
0
votes
0
answers
145
views
Add certificate via binding in Spring Boot maven plugin without volume mounting
I have followed different recommendations, here, here , here and here. All are answered with the idea that volume mounting is supported.
I run my build in Gitlab, and we have a policy, we do not ...
0
votes
1
answer
134
views
KPack - Builder resource creation failed following the tutorial
I am getting started with kpack and following the tutorial steps listed here
Unfortunately Builder resource creation with message
message: 'validating buildpack
paketo-buildpacks/[email protected]....
0
votes
0
answers
197
views
Paketo: Running npm install following Python buildpack
We have added a static build step to our Python app which is triggered by npm build
We would like to implement this in our Paketo build so that the built client-side assets are available at runtime.
...
2
votes
0
answers
105
views
How to exclude files in php buildback?
I am using Digitalocean's App Platform to deploy a PHP app.
App Platform recommends to use their PHP buildpack to deploy PHP apps.
It seems to utilize heroku-buildpack-php for this purpose.
Deploy ...
0
votes
1
answer
368
views
Build image with buildpacks from procfile with github actions
So I just migrated from Cloud Shell-Google Cloud to build a docker image.
What I did and was worked fine is with this simple command:
pack build my-app-image --builder gcr.io/buildpacks/builder:v1 --...
-1
votes
1
answer
61
views
Spring Boot 404 when using "pack build" but it works when using "./gradlew bootBuildImage"
I've been trying to generate a Spring Boot image using buildpacks.
I generated the project using https://start.spring.io/ with this configuration .
I only added a controller to get some response from ...
0
votes
1
answer
761
views
Cloud Native Buildpacks for JDK 21
pack builder suggest reutrns
Google: gcr.io/buildpacks/builder:v1
Heroku: heroku/builder:20
Heroku: heroku/builder:22
Paketo Buildpacks: paketobuildpacks/builder-jammy-base
Paketo Buildpacks: ...
0
votes
1
answer
721
views
Spring Boot Buildpacks BP_JVM_JLINK_ENABLED fails to build in Gitlab CI
Hopefully someone can help me here.
Locally it all works but when I try running spring boot bootBuildImage in gitlab ci with BP_JVM_JLINK_ENABLED = true it fails with
[creator] Expanding to /...
0
votes
1
answer
327
views
Cloud Foundry : Java Build Pack : Opentelemtry Javagent extension integration with jar from a repo
With the newly added ability on Java build pack to support monitoring using Opentelemetry javaagent is nice. We have written extensions to this javagent for monitoring our custom libraries - we can ...
2
votes
2
answers
910
views
Buildpacks SpringBoot container mounting volume and read write into it
I built a SpringBoot application which writes and reads files from a runtimeDir which can be set from the environment: -DruntimeDir=/Users/user/app/runtime
On startup, the application wants to setup ...
3
votes
1
answer
477
views
Can't connect to Docker container of Spring Boot application using `docker exec`
Reproducer
After start the project, I can't connect to the container using docker exec -it sb-repro [bash | sh]. The error:
OCI runtime exec failed: exec failed: unable to start container process: ...
0
votes
1
answer
340
views
Nodejs / Nuxt 3 Paketo Buildpacks: Container start 'failed to launch: determine start command: when there is no default process a command is required'
I have a Nuxt / Vue.js based app (example code here), where I already used Cloud Native Buildpacks to build a container for the Server Side Rendering mode. I'm in the process of migrating to Nuxt 3.x /...
1
vote
0
answers
295
views
How to build/run Spring Boot Containers for Kubernetes using CRaC
Issue
What workflow (automated pipeline) can I use to create a container image from my Spring Boot application for deployment on Kubernetes that utilises the fast startup functionality provided by ...
0
votes
0
answers
176
views
archive/tar: invalid tar header when executing pack builder create
The issue only occurs on my Mac, a colleague could create the builder without issues on his Linux machine.
This is the command line:
$ pack builder create builder-jammy-base:first --config ./builder....
1
vote
1
answer
432
views
Where do I specify build and run images when authoring a new buildpack?
I'm creating a sample buildpack to get familiar with the internals of buildpack. Following the documentation on creating a new buildpack, I got it running but I have some points to get clarified ...
1
vote
2
answers
1k
views
Spring Boot Buildpacks with HealthCheck is breaking Native Image build process
I am trying to add healthchecks to my Spring Boot application while using Buildpacks as suggested in Spring Boot Build Image with Health Check.
My pom.xml configuration:
<plugin>
<groupId&...
0
votes
1
answer
325
views
Cloudfoundry Laravel "Could not open input file: artisan"
I am trying to push a Laravel application with the CF CLI.
I created a new Laravel application, a manifest.yml and tried to deploy it but got the error "Could not open input file: artisan".
...
0
votes
1
answer
57
views
Unable to load ASP.NET Core web app in tanzu (prev PCF)
I am uploading/publishing an ASP.NET Core web app on tanzu platform using below command on powershell command line.
cf push -f .\manifest-Dev.yml
The manifest-Dev contains these details:
But I am ...
1
vote
1
answer
681
views
Docker API call to 'localhost/v1.24/containers/create' failed with status code 400 "Bad Request"
I'm using Gradle bootBuildImage task,but my environment doesn't have access to github.
I built a local docker repository.
Then pushed paketobuildpacks/builder-jammy-full and paketobuildpacks/run-jammy-...
0
votes
1
answer
2k
views
Spring Boot built with buildpacks Will not start up in docker compose
I am having problems running a Spring Boot application in Docker compose built with Buildpack.
The application got an upgrade from Spring Boot 2.2.4 and Java 8. The old version was packaged in docker ...
0
votes
1
answer
109
views
How to access Python dependencies when SSH'ing to Paketo image?
I have an image built using the Paketo Python Buildpack. It executes the command in the Procfile fine including python dependencies. However, when I exec on to the running instance e.g. using ecs exec ...
0
votes
0
answers
98
views
pack build :[analyzer] ERROR: failed to parse arguments: received 9 arguments, but expected 1
After upgrading my macOS to Sonoma, running the pack build command with Cloud Native Buildpacks started resulting in an error. The command I used is:
pack build test --path . --builder ...
1
vote
2
answers
1k
views
spring-boot:build-image fails in BitBucket Pipelines with authorization denied by plugin pipelines
Trying to build a Spring Boot 3.1.5 container image using mvn spring-boot:build-image within a BitBucket pipeline. It fails with the error:
authorization denied by plugin pipelines: -v only supports $...
6
votes
1
answer
5k
views
Building Spring Boot 3.1.5 image using paketobuildpacks via maven plugin is not working
I'm using Spring Boot 3.1.5, Java 21 and maven 3.9.5. I've got the following error when running mvn spring-boot:build-image
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder:base' ...
2
votes
1
answer
330
views
buildpack install npm during build process
I'm new to the Buildpacks area, and I want to create a Docker image for my project. My project is written in Java (with the Spring Boot framework), and it also includes a Vue.js project. I'm using ...
1
vote
1
answer
430
views
Building Spring Boot Application with Buildpacks on Tekton
When I try to build an oci image from an already built self-executing jar file on my local machine using
pack build my/image --path target/my-app-0.0.1-SNAPSHOT.jar --builder paketobuildpacks/builder:...
1
vote
1
answer
951
views
ERROR: license_key is empty in the config. Not starting New Relic Agent
I am facing the below error log on Spring Boot application startup. But the application is properly up and running.
2023-09-07T13:06:34,626+0000 [1 1] com.newrelic enter image description here
build....
0
votes
1
answer
426
views
How to build docker image for laravel 10 using buildpack
I'm trying to create an app image for my laravel 10 app without writing a docker file with buildpack, I've reading the official docs using of paketo and discovered the build code
pack build my-app --...
0
votes
0
answers
928
views
unable to use Paketo-buildpacks/Bellsoft-liberica - JDK version11.0.19 - using Binding/Dependency Mapping - Cloud Native Buildpack
**i want to use version 11.0.19 present locally instead of downloading from online. So am trying the binding/Dependency Mapping to implement this
**
getting below ERROR after executing command
===&...
1
vote
1
answer
248
views
Deploy a go binary to cloud run that is not the top package
I have a go module containing several different "main" packages located in subdirectories cmd/program1/program1.go, cmd/program2/program2.go, and so on. I would like to deploy one of these ...
0
votes
1
answer
446
views
How to use the java-buildpack together with the apt-buildpack?
What I am trying to accomplish
I'm trying to get a Spring Boot application running on Cloud Foundry, which also need some things that need to be installed with apt.
To install said things, I'm using ...
0
votes
1
answer
155
views
How to create my own buildpack for Heroku (gauge)
I have an automation project where I use jave/maven/gauge. And I want to run it headless on Heroku. But the Gauge framework is not supported by Heroku.
So, how can I create buildpack for gauge? Or if ...
0
votes
0
answers
625
views
Paketo Java Buildpack's memory calculator suddenly fails on AWS ECS
I've been running my containerized Spring Boot app on AWS Elastic Container Service for months without any issues. Yesterday, out of nowhere, newly started containers began to fail due to the memory ...