openjdk-runtime
openjdk-runtime copied to clipboard
Profiler Agent Bug
The version of the java profiler agent pre-installed in the image has a bug in it that prevents profiler data from being published to a project other then the project that the agent is hosted in. The latest version of the profiler has fixed this bug. Unfortunately the version of this dependency is not pinned so I can't tell you which version it is using and which version fixes the issue.
MD5 checksum of the old version: a5957970960fbb73bf80bdccde2fa6fb MD5 checksum of the new version: 7220b2ad1e7a44381bbc866512ef975e
To work around this issue I have added the following to my Dockerfile:
RUN mkdir -p /opt/cprof && \
wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
| tar xzv -C /opt/cprof
Well I think it is not preinstalled, if you look at openjdk8/src/main/docker/Dockerfile
you can see that it is being pulled using ADD https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz /opt/cprof/