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

猜你喜欢

转载自www.cnblogs.com/rongfengliang/p/12036465.html