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
0
votes
1 answer

How to set environment variables on paketobuildpacks/builder lifecycle for builder layers

I have a GitLab pipeline that builds a simple app, like https://github.com/spring-projects/spring-petclinic using the spring-boot:build-image target. The build works locally, and I deploy or run the image as expected. However, to get deployment…
Yuri-M-Dias
  • 610
  • 1
  • 11
  • 25
0
votes
1 answer

Paketo build-pack failing upon update

I have a quite simple Spring Boot app building Docker images for Azure. Probably Azure is not relevant to the problem. The image is built using the Spring Boot Gradle plugin, using the bootBuildImage task. Now, suddenly, with otherwise unchanged…
Michael Piefel
  • 18,660
  • 9
  • 81
  • 112
0
votes
1 answer

Paketo buildpack spring-boot-maven-plugin doesn't find sbom

I'm using spring-boot-maven-plugin to generate the buildpack (uses internally Paketo buildpack). During building phase, this trace is shown several times: [creator] Warning: BOM table is deprecated in this buildpack api version, though it…
0
votes
1 answer

Paketo Cloud Native Buildpacks behind corporate proxy

I'm trying to setup cloud native buildpacks (paketo builder) behind a corporate proxy, and I have "x509: certificate signed by unknown authority". This is because the proxy rewrites certificates. I tried follwing…
Remy
  • 502
  • 6
  • 19
0
votes
0 answers

Paketo pack build failing with registry-1.docker.io/v2/: EOF

I am trying to run "pack build" (using Paketo as buildpacks provider) in an environment where I do not have direct access to "registry-1.docker.io". Access to the external docker registry is provided via an internal proxy endpoint. When running the…
Rocky
  • 365
  • 1
  • 5
  • 15
0
votes
1 answer

java/spring-boot/gradle Wrong Entrypoint in image built with pack and paketobuildpacks/builder:base

I have a really simple java spring-boot gradle application. When I build an image from source with: pack build testapp:0.0.1 --builder paketobuildpacks/builder:base and try to run it with docker I get the following error: ERROR: failed to launch:…
Mieks
  • 3
  • 1
0
votes
1 answer

Buildpacks Distroless runtime image support

Is it possible to use distroless image with buildpacks ?
0
votes
1 answer

How to fix "compiler is null maybe you are on JRE enviroment please change to JDK environment"

Having a Spring Boot app I tried to build it using the Paketo Buildpack pack build my-app --builder paketobuildpacks/builder:base --env BP_JVM_VERSION=8 But it doesn't come with JDK, only JRE is available. It comes a error compiler is null…
sia
  • 21
  • 5
0
votes
1 answer

How can i modify the default user group in paketo buildpack?

I built a image use --builder paketobuildpacks/builder:base , but my app went wrong cause no permission. > apt-get update Reading package lists... Done E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied) Then…
sia
  • 21
  • 5
0
votes
1 answer

What is the path for my Jakarta EE app with Buildpack/Paketo?

I wanted to test Paketo with a Jakarta EE 9 application (https://github.com/cwansart/qualified-injection-from-module-test) and ran: pack build impl1 --builder paketobuildpacks/builder:base \ --env…
Apollo
  • 1,296
  • 2
  • 11
  • 24
0
votes
1 answer

How to automatically create PRs with Paketo.io/Cloud Native Buildpacks Docker image rebase (CI-Pipeline like GitHub Actions or renovatebot)?

As described in the Cloud Native Buildpack features they add a rebasing capability with Instant updates of base images without re-building. In the buildpacks docs the rebase operation of Paketo's pack CLI is described to be executed like…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
0
votes
1 answer

How to specify an alternative main class in spring boot using bootBuildImage and packeto

When calling the spring boot plugin bootBuildImage task in gradle, a docker image is created using packeto. It starts the main class specified in the springBoot plugin. Below you can find an excerpt of the build.gradle file. springBoot { …
Jan Bols
  • 457
  • 4
  • 11
0
votes
1 answer

How to build container serving Vue SPA using Cloud Native Buildpacks

Currently I'm trying to build container serving VueJS application via Cloud Native Buildpacks. I already have working Docker file that builds VueJS in production mode and then copy results to nginx image, but I would like to try to use CNB. So I…
Dm3Ch
  • 621
  • 1
  • 10
  • 26
-1
votes
1 answer

What are the strengths and weaknesses of Buildpacks when compared to using plain Dockerfiles, assuming prior experience with Dockerfiles?

I looked into buildpacks a bit, and it seems like nice tool. To me it seems it offers two different things, sort of: magically turn your code repository into a running container, even if you wouldn't know how to do any of that (Heroku style) make…
Janne Mattila
  • 598
  • 7
  • 20
-1
votes
2 answers

skaffold: build image using local maven dependency

I'm building my images using pack cli: pack build fhir-mongo --builder paketobuildpacks/builder:base --path target/hes-mpi-fhir-mongodb-service-0.0.1-SNAPSHOT.jar This is my project structure: . ├── hes-mpi-fhir-mongodb │ ├── deployment.yaml │ …
Jordi
  • 20,868
  • 39
  • 149
  • 333
1 2 3 4
5