Build your own image
Download the latest Java Agent AppDynamics Official Download Site
Copy and paste the downloaded zip into the build-agent folder. Note the agent version number (e.g 20.6.0) from the downloaded zip file.
Locate the build.ps1 . Run ./build.ps1 passing the version, as it appears in the name of the zip file, like this:
build.ps1 -agentVersion <version-number> -dockerHubHandle <docker-hub-name>
Where :
-
version-numberis the agent version to be used for tagging. You must tag the image. -
docker-hub-handleis the image reference, for example, if I want to push the image to my private dockerhub repo, I'd useiogboleas thedockerHubHandlein the build parameter. This is an optional field and it defaults toappdynamics
Since this image only applies to Windows Container, you would need to define the appropriate nodeSelectors and tolerations in your deployment manifest.
docker run -it <image-name> pwsh -c "ls c:\appdynamics\java-agent"
Expected output
