paketo-buildpacks / dynatrace

A Cloud Native Buildpack that contributes the Dynatrace OneAgent and configures it to connect to the service
Apache License 2.0
4 stars 4 forks source link

Using dynatrace packeto result in error creating docker image #98

Closed silvia-giordano closed 6 months ago

silvia-giordano commented 6 months ago

I have a spring boot application, I create a docker image and I'm using dynatrace for the monitoring. I use the spring boot maven plugin to create the docker image, adding the paketo-buildpacks dynatrace. The download of the paketo is fine but then I have this error:

[INFO] [creator] ERROR: failed to initialize detector: open /cnb/buildpacks/paketo-buildpacks_dynatrace/5.3.0/buildpack.toml: no such file or directory

Checking on docker desktop I found something that seems weird

image

Inside the paketo dynatrace there is a 'dependency' on paketo dynatrace v4 0.0.0 etc

Expected Behavior

Paketo dynatrace is correctly installed in the docker image

Current Behavior

Error in creating the docker image with maven commands

Possible Solution

-

silvia-giordano commented 6 months ago

found the issue: https://github.com/spring-projects/spring-boot/issues/39347