gcr.io/distroless/java:11使用基础版本从11:.0.6到11.0.8。

huangapple go评论68阅读模式
英文:

gcr.io/distroless/java:11 use base version from 11:.0.6 to 11.0.8

问题

更改 Distroless Java Docker 镜像中的次要版本。

当前的 Java 项目使用 Maven Jib 来构建 Docker 镜像。
Docker 镜像的默认版本是 Java 11。该 Docker 镜像的次要 Java 版本被设置为 11.0.6。

如何将此镜像 gcr.io/distroless/java:11 的 Java 次要版本从 11.0.6 更改为更高版本。

英文:

Changing minor version in distroless java docker image .

Current java project uses maven jib to build the docker images.
The default version of docker image is java 11. The minor java version of this docker image is set to 11.0.6.

How to change java minor version of this image gcr.io/distroless/java:11 from 11.0.6 to higher.

答案1

得分: 6

截至2020年9月11日:gcr.io/distroless/java:11 镜像基于 Debian 9 (stretch)。Debian 9 是"oldstable"版本,我相信只会偶尔获得重要的安全更新。你应该使用基于 Debian 10 (buster) 的 gcr.io/distroless/java-debian10:11,其中包含了 11.0.8 版本的 Debian Java 软件包。

在不久的将来,Distroless 可能会通过将 gcr.io/distroless/java:11 指向 Debian 10 来提升基线版本,但目前仍指向 Debian 9。

英文:

As of Sep 11, 2020: gcr.io/distroless/java:11 mirrors Debian 9 (stretch). Debian 9 is "oldstable" that I believe only gets occasional important security updates. You should use the Debian 10 (buster)-based gcr.io/distroless/java-debian10:11, which gets the 11.0.8 Debian Java package.

In the near future, Distroless may advance the baseline by making gcr.io/distroless/java:11 point to Debian 10, but as of now, it is pointing to Debian 9.

huangapple
  • 本文由 发表于 2020年9月11日 16:34:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/63843567.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定