openjdk11 stretch基础镜像无法找到对应openjdk dbg 包的问题

Posted rongfengliang-荣锋亮

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openjdk11 stretch基础镜像无法找到对应openjdk dbg 包的问题相关的知识,希望对你有一定的参考价值。

今天在构建一个jdk perf 工具基于openjdk 11 发现8 的dbg 一直可以查找到,但是11的就是没有
参考issue https://github.com/docker-library/openjdk/issues/324 以及 https://github.com/docker-library/openjdk/pull/322

临时解决方法:

Dockerfile添加如下配置:

 
RUN echo ‘deb http://deb.debian.org/debian stretch-backports main‘ > /etc/apt/sources.list.d/backports.list

参考资料

https://github.com/rongfengliang/jvm-tools-container
https://github.com/docker-library/openjdk/issues/324
https://github.com/docker-library/openjdk/pull/322

以上是关于openjdk11 stretch基础镜像无法找到对应openjdk dbg 包的问题的主要内容,如果未能解决你的问题,请参考以下文章