Dynatrace-AppMon-Docker
Dynatrace-AppMon-Docker copied to clipboard
openjdk8 is missing from Dynatrace-Agent image
I was planning to use "dynatrace/agent" image as a base image for my Java application expecting it contains a Java 8 distribution. However the "dynatrace/agent" (7.0, latest) image doesn't contain Java. Even though the Dockerfile has following
- Line #23 defines "openjdk8-jre-base" as one of the dependencies to be deployed during image creation.
- The Line #30 runs the "apk add" command that's supopsed to deploy it.
no "openjdk8-jre-base" is available in the image. Any attempts to execute "java" result in "java not found" error.
Older "dynatrace/agent:6.5" image has no such problem, but it's bundled with older "openjdk7".
I am also facing the same issue. Can some one look into this? Do I need to file any support ticket. Please suggest.
@BlazejT - could you please suggest? I have already opened a support ticket with Dynatrace.
The issue with missing Java could be solved if the "dynatrace/agent" image was created with using
FROM openjdk:alpine
- which is Alpine Linux with Java already deployed
instead of
FROM alpine:3.5
- which is a "naked" Alpine Linux