镜像构建历史
# 2024-10-01 23:34:37 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/java"]
# 2024-10-01 23:34:37 0.00B 复制新文件或目录到容器中
COPY --chown=101:101 /rootfs/home/app /home/app # buildkit
# 2024-10-01 23:34:37 104.85MB 复制新文件或目录到容器中
COPY /rootfs / # buildkit
# 2024-10-01 23:34:37 0.00B 指定运行容器时使用的用户
USER 101:101
# 2024-10-01 23:34:37 0.00B 定义构建参数
ARG GID=101
# 2024-10-01 23:34:37 0.00B 定义构建参数
ARG UID=101
# 2024-10-01 23:34:37 0.00B 定义构建参数
ARG USER=app
镜像信息
{
"Id": "sha256:1905dabb06c7993772ad6eb4caf8559935c73986a1a04485ad60002344a9d57a",
"RepoTags": [
"ubuntu/jre:8-22.04_edge",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ubuntu/jre:8-22.04_edge"
],
"RepoDigests": [
"ubuntu/jre@sha256:d781d6a2439c9fbf767c20b19d35d197c617548635a355bdcc736771cfe959ac",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ubuntu/jre@sha256:4f5f1beda82eededc8309a97570da144f0e3b07182cdf7849dd9d65193c7183b"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-10-01T15:34:37.576279518Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "101:101",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": [
"/usr/bin/java"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 104846522,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/d0b01c0bcc144e5720e753aa7eebc15345c7e81dd1cbc0cc0e70589d73860d56/diff",
"MergedDir": "/var/lib/docker/overlay2/3f9361bda91e864fe49a731c6ca348dcff2d5d1a3c15c96eceb23d038398cc95/merged",
"UpperDir": "/var/lib/docker/overlay2/3f9361bda91e864fe49a731c6ca348dcff2d5d1a3c15c96eceb23d038398cc95/diff",
"WorkDir": "/var/lib/docker/overlay2/3f9361bda91e864fe49a731c6ca348dcff2d5d1a3c15c96eceb23d038398cc95/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:72efc551f9f3af892d9109324ab5f1aa152a89f76f185d4196509b08085d9a48",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2024-10-10T11:23:31.395702953+08:00"
}
}