镜像构建历史
# 2024-05-18 02:38:55 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
# 2024-05-18 02:38:55 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/gerrit/git /var/gerrit/index /var/gerrit/cache /var/gerrit/db /var/gerrit/etc]
# 2024-05-18 02:38:55 0.00B 声明容器运行时监听的端口
EXPOSE map[29418/tcp:{} 8080/tcp:{}]
# 2024-05-18 02:38:55 0.00B 设置环境变量 HTTPD_LISTEN_URL
ENV HTTPD_LISTEN_URL=
# 2024-05-18 02:38:55 0.00B 设置环境变量 CANONICAL_WEB_URL
ENV CANONICAL_WEB_URL=
# 2024-05-18 02:38:55 0.00B 指定运行容器时使用的用户
USER gerrit
# 2024-05-18 02:38:55 3.51KB 执行命令并创建新的镜像层
RUN /bin/sh -c update-crypto-policies --set LEGACY # buildkit
# 2024-05-18 02:38:55 595.28MB 执行命令并创建新的镜像层
RUN /bin/sh -c yum -y install initscripts && yum -y install java-17-openjdk && yum -y install gerrit-3.10.0-1 && /entrypoint.sh init && rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/* && chown -R gerrit:gerrit /var/gerrit && yum -y clean all # buildkit
# 2024-05-18 02:37:00 1.10KB 复制文件或目录到容器中
ADD entrypoint.sh / # buildkit
# 2024-05-18 02:37:00 6.75MB 执行命令并创建新的镜像层
RUN /bin/sh -c rpm -i https://gerritforge.com/gerritforge-repo-1-4.noarch.rpm # buildkit
# 2024-05-18 02:37:00 0.00B
MAINTAINER Gerrit Code Review Community
# 2024-04-12 09:02:59 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-04-12 09:02:58 184.00MB
/bin/sh -c #(nop) ADD file:f9e45b02586d1bbbb5cc973125024a5bac49fefc9988f604a381fcd5c935dc46 in /
镜像信息
{
"Id": "sha256:4e44232cbb11a3678efc27b510a8e0fba0762bf782863e2b585f0a795995cbec",
"RepoTags": [
"gerritcodereview/gerrit:3.10.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.10.0"
],
"RepoDigests": [
"gerritcodereview/gerrit@sha256:724a70c862dbb98388fb48fa1eaf2d6c481e3d519e9dba6b899a468f9ca34ee5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit@sha256:6f30a98a34534f6f8b8c63098c2238928469ba5440c071fb20b1a96384f1ba7e"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-05-17T18:38:55.818953415Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "Gerrit Code Review Community",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "gerrit",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"29418/tcp": {},
"8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CANONICAL_WEB_URL=",
"HTTPD_LISTEN_URL="
],
"Cmd": null,
"Image": "",
"Volumes": {
"/var/gerrit/cache": {},
"/var/gerrit/db": {},
"/var/gerrit/etc": {},
"/var/gerrit/git": {},
"/var/gerrit/index": {}
},
"WorkingDir": "",
"Entrypoint": [
"/entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 786031554,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7587dda5bd4bb041f5b24c751fbdac51ed32031221362b6df5bdfefea8c1aa6c/diff:/var/lib/docker/overlay2/76eac2b32996cb21398239ac2336c198abfa769c71c8880c0feb0a150d149155/diff:/var/lib/docker/overlay2/1f655390dce5a4940d1ac24b9cb43f9fab05d7109dd8746499e0684467418e71/diff:/var/lib/docker/overlay2/6274de2be7ef30b0d0f06ac22cdc21f1a627743e4911ab9e8c305c179f63cb13/diff",
"MergedDir": "/var/lib/docker/overlay2/e08842dc93eebffe20647d8f130bf27e4153ed44984ae335cacf2e23393b5d1c/merged",
"UpperDir": "/var/lib/docker/overlay2/e08842dc93eebffe20647d8f130bf27e4153ed44984ae335cacf2e23393b5d1c/diff",
"WorkDir": "/var/lib/docker/overlay2/e08842dc93eebffe20647d8f130bf27e4153ed44984ae335cacf2e23393b5d1c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:234202d7444e3db5ad1b01766fbc5c700ae7cea51b8c017b3d4b3c8cb839c2ac",
"sha256:a7bc614f96f03d7593fe041c9e6980b858c5d3e29c9d6df22fa6fe728d3b1538",
"sha256:26a99321dcb0cb65eebad01e10de66afc167475d2796e94528e49bb1b0db5f4a",
"sha256:6d5f3f30aabb406240e1861b0a06e3c296fed361aa56400641b2efac2368a62e",
"sha256:8c37d1c2f87e3b5e06ff5d316ba733548f4426879820f16a2242fd01e406cad9"
]
},
"Metadata": {
"LastTagTime": "2024-08-01T09:33:55.515372793+08:00"
}
}