[英]How to get access to Dockerfile of a docker image?
Below is the docker image:下面是 docker 图像:
https://console.cloud.google.com/gcr/images/distroless/GLOBAL/base https://console.cloud.google.com/gcr/images/distroless/GLOBAL/base
Goal is to find, if this image is based on debian or rpm based Linux distro.目标是找到,如果此图像基于 debian 或基于 rpm 的 Linux 发行版。
How to find the Dockerfile for this image?如何找到此图像的 Dockerfile?
What does distroless image mean? distroless 镜像是什么意思?
How to find the Dockerfile for this image?
如何找到此图像的 Dockerfile?
There is no Dockerfile for that image.该图像没有 Dockerfile。
The gcr.io/distroless/base
image is built from this repository . gcr.io/distroless/base
映像是从此存储库构建的。 If you read through the README
, you'll find:如果您通读
README
,您会发现:
How do I use distroless images?
如何使用 distroless 映像?
These images are built using bazel, but they can also be used through other Docker image build tooling.
这些镜像是使用 bazel 构建的,但它们也可以通过其他 Docker 镜像构建工具使用。
Bazel is a build tool that can be used to create Docker images . Bazel 是一个构建工具,可用于创建 Docker 映像。
What does distroless image mean?
distroless 镜像是什么意思?
That means the image isn't based on any particular distribution;这意味着图像不基于任何特定的分布; it includes only a minimal set of files so that the final image contains only what is strictly necessary to run your application:
它仅包含最少的文件集,因此最终图像仅包含运行应用程序所必需的内容:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.