cryostatio / test-applications

Apache License 2.0
0 stars 3 forks source link

fix(gameserver): ensure JDK image with Attach API is used for build #15

Closed andrewazores closed 3 months ago

andrewazores commented 3 months ago

Welcome to Cryostat! 👋

Before contributing, make sure you have:

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


See #14 There seems to be a distinction between ex. :java17 and java17-jdk images, where java17 is something like a JRE image instead of a full JDK. It doesn't contain tools.jar and therefore the Attach API, used by our Agent, is unavailable and attempting to attach the Agent results in a runtime error and failure of the container to start.