Build the Java Agent Init Container Image

The Java Agent image is built separately from the application image and can be reused across multiple Java application deployments. This Dockerfile is an example of building the Java Agent init container image using a multi-stage build. Alternatively, the init container can reference a pre-built Splunk AppDynamics image directly from Docker Hub or Red Hat Registry. The Java Agent binaries can be found at /opt/appdynamics within these images.

Note: The Docker Hub and Redhat Registry Container Java Agent images are specifically designed to deliver the AppDynamics Java Agent binaries. You must not to use this image as a base image for the application containers.