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

posted on 2019-12-13 17:41  荣锋亮  阅读(655)  评论(0编辑  收藏  举报

导航