Questions tagged [paketo]

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.

75 questions
1
vote
0 answers

Getting Docker API 500 error when running bootBuildImage

We have recently started to use Gradle's bootBuildImage task for building docker images. Locally we can build images successfully without any issues, however our Jenkins build sometimes randomly fails with following error: FAILURE: Build failed with…
1
vote
3 answers

Containerizing Angular Application With Paketo Buildpacks: Empty Reply

I want to create a container image of my Angular 12 application with the Paketo buildpack for nodejs. I created the application via Angular CLI and coded it away until now I want to deploy it. To create the container, I followed the instructions in…
user3235738
  • 335
  • 4
  • 22
1
vote
1 answer

jvmkill is unable to kill the JVM in an image created by Paketo Java Buildpack

I have a spring boot application v2.4.3 in a container created using the official spring boot gradle plugin which uses buildpakcs to do so. One of the layers is jvmkill: [creator] Adding layer 'paketo-buildpacks/bellsoft-liberica:jvmkill' which…
vcardenas
  • 11
  • 1
1
vote
2 answers

Use spring-actuator with Spring-Boot default Docker-Image builder

I am using Spring-Boot 2.4.4 on a Docker environment managed by a docker-compose.yml file and visualized with portainer. I am building my Docker images with the Spring-Boot build-in builder (with paketo-buildpacks) mvn spring-boot:build-image I…
O. Schnieders
  • 593
  • 1
  • 6
  • 16
1
vote
1 answer

Change Liberica Jdk with another one in spring-boot:build-image

i've read that is possible to change default buildpack Liberica Jdk with another one, but i can't find any example or documentation about this. Can someone help me, thanks
user1066888
  • 136
  • 1
  • 11
1
vote
0 answers

How to add container startup criteria, such as runing keytool in order to add certs to the keystore, to the Java Paketo buildpack?

A tiny disclaimer first - I have never used Dockerfile and so far only built my Spring apps with mvn spring-boot:build-image using buildpacks. My wish is to add a certificate into the jre keystore that comes from the volume defined in the compose…
mydogspies
  • 147
  • 1
  • 10
1
vote
1 answer

spring boot maven docker image issue

I have used the spring boot plugin to build images before, however I am seeing strange behaviour. Essentially the process has stalled. It's been going for over an hour and I am not sure why. I ran: mvn spring-boot:build-image…
user3465651
  • 706
  • 1
  • 4
  • 22
1
vote
1 answer

How to configure buildpack bindings with the spring-boot-maven-plugin?

I am using the spring-boot-maven-plugin in the latest version 2.4.0 to build images. https://docs.spring.io/spring-boot/docs/2.4.0/maven-plugin/reference/htmlsingle/#build-image The documentation describes how the environment variables of the used…
1
vote
0 answers

Building a Docker (OCI) image with spring boot maven plugin has labels that are too long

I am using Spring Boot Maven plugin to create a Docker image with the command mvn spring-boot:build-image. This uses Paketo buildpacks. It works fine, but the resulting Docker image has labels with a huge amount of data. It lists every file in my…
Adam
  • 43,763
  • 16
  • 104
  • 144
1
vote
1 answer

Create paketo builder based on another

Spring boot maven plugin is using paketo builder to build images. gcr.io/paketo-buildpacks/builder:base-platform-api-0.3 What I would like to do is to add another step to what is being done by this builder. I've created my own buildpack and tried to…
user2186425
  • 465
  • 2
  • 5
  • 13
1
vote
1 answer

Are the any buildpacks that generate Spring Webflux optiimized OCI Images?

I'm unable to find a buildpack builder that lends itself to Spring Webflux applications. Paketo, for example, has little room for customization and out of the box includes buildpacks that are not needed for a typical Webflux app (e.g.…
Newbie
  • 7,031
  • 9
  • 60
  • 85
0
votes
1 answer

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 --buildpack paketo-buildpacks/php \ --builder…
Amir
  • 86
  • 7
0
votes
0 answers

failed to build: failed to fetch builder image in argo using paketo

I am trying to build image using argo and paketo but I am getting this error ERROR: failed to build: failed to fetch builder image 'index.docker.io/paketobuildpacks/builder:base': Cannot connect to the Docker daemon at unix:///var/run/docker.sock.…
etranz
  • 891
  • 2
  • 10
  • 29
0
votes
0 answers

How to build a nodejs application into image in argo using paketo?

I am trying to build a nodejs application into an image in awith paketo but I am getting this error Error (exit code 64): failed to find name in PATH: exec: "sh": executable file not found in $PATH Here is my code apiVersion:…
etranz
  • 891
  • 2
  • 10
  • 29
0
votes
0 answers

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 instead of 17.0.7. So am trying the binding/Dependency Mapping to implement this ** getting beow ERROR after executing command BellSoft Liberica JDK 11.0.19: Contributing to layer Downloading from…