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
0 answers

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 calculator being unable to calculate the memory…
0
votes
0 answers

spring-boot-maven-plugin with paketo buildpacks does not perform binding in Gitlab pipeline

I am using paketo buildpacks with spring-boot-maven-plugin and I want to copy some files from a specific folder into the image. If I am running spring-boot:build-image locally it works fine and I can inspect the image and see the files there,…
0
votes
1 answer

How to Override paketo-buildpacks/bellsoft-liberica for `mvn spring-boot:build-image`

I want to create OCI images with different JVM bases using Spring Boot's build-image goal. However, I am having difficulty finding documentation for overriding the JVM. Can anyone let me know how to override just the JVM varients say "…
Raja Anbazhagan
  • 4,092
  • 1
  • 44
  • 64
0
votes
0 answers

How to add needed libraries/packages in the final image with kpack

I'm building a dockerfile via kpack without a Dockerfile and everything is working fine. Using the "tiny" builder the image is even slim enough, what I don't understand is how to add external packages. For example I need to install a font, is…
Roberto
  • 1
  • 3
0
votes
1 answer

Docker image created using spring-boot:build-image "Resource for web app... was not loaded as the canonical path... Use of Symlinks possible cause "

Currently refactoring an old tomcat deployed Spring JSP .war application to a Docker SpringBoot app. I am using the spring-boot maven plugin to build docker images. While running the image locally, on startup there is a warning: Resource for web…
0
votes
1 answer

pack/paketo behide a proxy

I'm using buildpacks and paketo to build my images from a spring-boot gradle project. I'm behind a corporate proxy (using cntlm and already exported: http_proxy=http://localhost:3128 and https_proxy=http://localhost:3128) I've also added a…
flywell
  • 384
  • 3
  • 20
0
votes
1 answer

How to embed a file into spring boot native image?

I want to put a file inside an image generated by spring boot native image. But as far as I tried to search, there's no such option (or I couldn't find it) in neither spring boot maven plugin, paketo buildpack nor graalvm itself. I found that you…
0
votes
1 answer

GraalVM Native Image Manual Proxy Configuration

We migrated an appication to GraalVM docker image, Building a Native Image Using Buildpacks. The application previously running on JDK 8 and Spring boot 2.2.0.RELEASE. We migrated to JDK-17 and SpringBoot 3.0.2 as GraalVM latest prerequisite. The…
0
votes
2 answers

Adding CA certificate via binding in Spring Boot's maven plugin is failing due to 'failed to read binding 'ca-certificates': missing 'type''

Following the recommendations here, these recommendations are how to pass SSL certificates into a build image using Spring Boot's plugin for maven. I have this in my pom.xml: org.springframework.boot
codesling
  • 43
  • 6
0
votes
0 answers

How to fix mvnw spring-boot:build-image failure due to "Warning: Aborting stand-alone image build due to dynamic proxy use without configuration"?

I am trying to use the Spring Boot plugin for Maven to build docker images. The project I'm working with is the Spring Boot REST service demo, so I'm using the provided mvnw script. The output I'm getting is this: ./mvnw…
codesling
  • 43
  • 6
0
votes
0 answers

Can I build spring-native boot image in low resources machine (like AWS CodeBuild Linux Small 2vCPUs / 3gb ram)?

I want to build boot build image for GraalVM spring native project using AWS CodeBuild called from AWS CodePipeline, but the build process stops at missing RAM resources. I tried the default spring builder and the following one:…
0
votes
2 answers

Paketo BuildPacks Java JSON Log for Spring Boot Application

We are using Paketo BuildPacks for our Spring Boot application. We configured all logs to be JSON written to STDOUT. The issue is that there's a few lines of logs by Paketo during startup: Setting Active Processor Count to 2 Calculated JVM Memory…
Rad
  • 4,292
  • 8
  • 33
  • 71
0
votes
1 answer

Paketo Spring boot 3.0 jar issue

I'm currently migrating to Spring boot 3.0. In the process, I'm looking into using the newly integrated Native support. When using pack to build and publish my image, I get an error: Executing native-image -H:+StaticExecutableWithDynamicLibC -jar…
Kevin Bos
  • 173
  • 1
  • 12
0
votes
0 answers

Packeto built image raises command not found

I have following pieces of code server.py from flask import Flask, render_template app = Flask(__name__) @app.route("/") def hello(): return render_template('index.html') if __name__ == '__main__': …
Shakesbeer
  • 71
  • 6
0
votes
0 answers

How to install an extra software package in a buildpack?

I'd like to use the Ruby buildpack by Paketo for running a Rails application. However, bundler cannot build because the header files of a library that is required by a native gem is not available in the buildpack. Under normal circumstances (e.g.…
Kalsan
  • 822
  • 1
  • 8
  • 19