docker.io/gitea/gitea:1.22.0-rootless linux/amd64

docker.io/gitea/gitea:1.22.0-rootless - 国内下载镜像源 浏览次数:14

Gitea是一款开源的版本控制平台,提供Git、Mercurial、Subversion等多种版本控制协议支持,可以轻松地部署到容器环境中。该镜像主要用于运行Gitea应用程序。

源镜像 docker.io/gitea/gitea:1.22.0-rootless
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless
镜像ID sha256:a57953bf5e2e4c1bda05d90cd334b58c33bbb78c1c4dc7763b4ff31b8b97fa87
镜像TAG 1.22.0-rootless
大小 157.37MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/bin/dumb-init -- /usr/local/bin/docker-entrypoint.sh
工作目录 /var/lib/gitea
OS/平台 linux/amd64
浏览量 14 次
贡献者
镜像创建 2024-05-27T08:01:58.236915278Z
同步时间 2025-04-01 23:07
更新时间 2025-04-03 11:22
开放端口
2222/tcp 3000/tcp
目录挂载
/etc/gitea /var/lib/gitea
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GITEA_WORK_DIR=/var/lib/gitea GITEA_CUSTOM=/var/lib/gitea/custom GITEA_TEMP=/tmp/gitea TMPDIR=/tmp/gitea GITEA_APP_INI=/etc/gitea/app.ini HOME=/var/lib/gitea/git
镜像标签
maintainers@gitea.io: maintainer 2024-05-27T07:54:45.977Z: org.opencontainers.image.created Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD: org.opencontainers.image.description MIT: org.opencontainers.image.licenses 803b0c9ab43f809e47f42fad951e7f5fb6652e42: org.opencontainers.image.revision https://github.com/go-gitea/gitea: org.opencontainers.image.source gitea: org.opencontainers.image.title https://github.com/go-gitea/gitea: org.opencontainers.image.url 1-rootless: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless  docker.io/gitea/gitea:1.22.0-rootless

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless  docker.io/gitea/gitea:1.22.0-rootless

Shell快速替换命令

sed -i 's#gitea/gitea:1.22.0-rootless#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless  docker.io/gitea/gitea:1.22.0-rootless'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless  docker.io/gitea/gitea:1.22.0-rootless'

镜像构建历史


# 2024-05-27 16:01:58  0.00B 设置默认要执行的命令
CMD []
                        
# 2024-05-27 16:01:58  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/dumb-init" "--" "/usr/local/bin/docker-entrypoint.sh"]
                        
# 2024-05-27 16:01:58  0.00B 设置工作目录为/var/lib/gitea
WORKDIR /var/lib/gitea
                        
# 2024-05-27 16:01:58  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/gitea /etc/gitea]
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 HOME
ENV HOME=/var/lib/gitea/git
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 GITEA_APP_INI
ENV GITEA_APP_INI=/etc/gitea/app.ini
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 TMPDIR
ENV TMPDIR=/tmp/gitea
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 GITEA_TEMP
ENV GITEA_TEMP=/tmp/gitea
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 GITEA_CUSTOM
ENV GITEA_CUSTOM=/var/lib/gitea/custom
                        
# 2024-05-27 16:01:58  0.00B 设置环境变量 GITEA_WORK_DIR
ENV GITEA_WORK_DIR=/var/lib/gitea
                        
# 2024-05-27 16:01:58  0.00B 指定运行容器时使用的用户
USER 1000:1000
                        
# 2024-05-27 16:01:58  946.00B 复制新文件或目录到容器中
COPY /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh # buildkit
                        
# 2024-05-27 16:01:58  11.60MB 复制新文件或目录到容器中
COPY --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini # buildkit
                        
# 2024-05-27 16:01:58  106.20MB 复制新文件或目录到容器中
COPY --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea # buildkit
                        
# 2024-05-27 16:01:57  4.51KB 复制新文件或目录到容器中
COPY /tmp/local / # buildkit
                        
# 2024-05-27 15:54:54  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chown git:git /var/lib/gitea /etc/gitea # buildkit
                        
# 2024-05-27 15:54:54  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /var/lib/gitea /etc/gitea # buildkit
                        
# 2024-05-27 15:54:54  3.06KB 执行命令并创建新的镜像层
RUN /bin/sh -c addgroup     -S -g 1000     git &&   adduser     -S -H -D     -h /var/lib/gitea/git     -s /bin/bash     -u 1000     -G git     git # buildkit
                        
# 2024-05-27 15:54:53  31.76MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk --no-cache add     bash     ca-certificates     dumb-init     gettext     git     curl     gnupg     && rm -rf /var/cache/apk/* # buildkit
                        
# 2024-05-27 15:54:53  0.00B 声明容器运行时监听的端口
EXPOSE map[2222/tcp:{} 3000/tcp:{}]
                        
# 2024-05-27 15:54:53  0.00B 添加元数据标签
LABEL maintainer=maintainers@gitea.io
                        
# 2024-05-23 02:18:12  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-05-23 02:18:11  7.79MB 
/bin/sh -c #(nop) ADD file:e3abcdba177145039cfef1ad882f9f81a612a24c9f044b19f713b95454d2e3f6 in / 
                        
                    

镜像信息

{
    "Id": "sha256:a57953bf5e2e4c1bda05d90cd334b58c33bbb78c1c4dc7763b4ff31b8b97fa87",
    "RepoTags": [
        "gitea/gitea:1.22.0-rootless",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea:1.22.0-rootless"
    ],
    "RepoDigests": [
        "gitea/gitea@sha256:c526ec7dbd8322df2df6acc1e47d47aab773bccb7b6dd4ab17d6a4fa91bda3b9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gitea/gitea@sha256:990e928ddafaa2eb28fd08bc851a07ee8280d9e7df1c6d8b5c076b3409672fa5"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-27T08:01:58.236915278Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000:1000",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "2222/tcp": {},
            "3000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GITEA_WORK_DIR=/var/lib/gitea",
            "GITEA_CUSTOM=/var/lib/gitea/custom",
            "GITEA_TEMP=/tmp/gitea",
            "TMPDIR=/tmp/gitea",
            "GITEA_APP_INI=/etc/gitea/app.ini",
            "HOME=/var/lib/gitea/git"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/gitea": {},
            "/var/lib/gitea": {}
        },
        "WorkingDir": "/var/lib/gitea",
        "Entrypoint": [
            "/usr/bin/dumb-init",
            "--",
            "/usr/local/bin/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "maintainers@gitea.io",
            "org.opencontainers.image.created": "2024-05-27T07:54:45.977Z",
            "org.opencontainers.image.description": "Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD",
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.revision": "803b0c9ab43f809e47f42fad951e7f5fb6652e42",
            "org.opencontainers.image.source": "https://github.com/go-gitea/gitea",
            "org.opencontainers.image.title": "gitea",
            "org.opencontainers.image.url": "https://github.com/go-gitea/gitea",
            "org.opencontainers.image.version": "1-rootless"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 157370903,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/89d65805f7e165d607f5684fb5c82568433e7b6465a4ff2ad21208fde5ed6b34/diff:/var/lib/docker/overlay2/80f9adc52aa51702e929e067128fabd8c4d97e5744be065e6aaa4b6efcb9d4fb/diff:/var/lib/docker/overlay2/8e023c3728ee41567c4cb5c443bba511c19b9a54ae1dbd37949880d94c4697cf/diff:/var/lib/docker/overlay2/b57705c7c7b566c81d7b12dfa03e02bd8bc643292d76634512cf30532ad06d46/diff:/var/lib/docker/overlay2/c4676c949b9ee17e05da2308502cc67e2428f85238a18d95a2affed138704a10/diff:/var/lib/docker/overlay2/9e812edd9e83d9a743668eca0bca89207c6328f085b92762de050340c5e68db9/diff:/var/lib/docker/overlay2/395480c4b6131adca4a5ba785191340dd0e2e76bb6103fddd5b0dc11b262b26d/diff:/var/lib/docker/overlay2/b020ac250b3207544be9ec4d72a40e3ef09e01e41fee3c6c1197900e65c375ca/diff:/var/lib/docker/overlay2/fe323df5f785db8fb1d7445b1870e6cc92029b2597de541ed5a47b927f2b9355/diff",
            "MergedDir": "/var/lib/docker/overlay2/c25dc780ff948b3912ab1ccf8fa5da3422fc4750fac7250227905e742821a387/merged",
            "UpperDir": "/var/lib/docker/overlay2/c25dc780ff948b3912ab1ccf8fa5da3422fc4750fac7250227905e742821a387/diff",
            "WorkDir": "/var/lib/docker/overlay2/c25dc780ff948b3912ab1ccf8fa5da3422fc4750fac7250227905e742821a387/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:02f2bcb26af5ea6d185dcf509dc795746d907ae10c53918b6944ac85447a0c72",
            "sha256:90e3a93b63fcd515eb42bda0b28fca95c6088c11b4b01122c7062b01d00251d0",
            "sha256:7902a6258cce92cae0f50c9a06be79750e5ee709aa0f01b1cc1302710feee6e6",
            "sha256:9fa803fed20f8434a046c1659de56ca992d8beac515dfe2b6915e68113344672",
            "sha256:0c86a7d85349986c37a069f350314956476af231e50b70e724989cb295c15d3e",
            "sha256:92801ed65cf4903b30088fe51ab55cd941c5b91f6fe40311714c6d32bdf908ed",
            "sha256:1601fb9e4b61d4dbb9d6681e78961c02d621f3186cb390706121a6a466435bd6",
            "sha256:5e0bc5874f560466592c608743decc298658896708b6c2e36a33e030dbf8e956",
            "sha256:890b337c1dc66b3668079f03a30a04b2fe42f00d75b69fc9d750497f4e95b89a",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-01T23:07:19.152696792+08:00"
    }
}

更多版本

docker.io/gitea/gitea:1.22.1

linux/amd64 docker.io166.72MB2024-07-19 09:07
566

docker.io/gitea/gitea:latest

linux/arm64 docker.io176.75MB2024-09-25 17:03
449

docker.io/gitea/gitea:1.22.3-rootless

linux/amd64 docker.io157.81MB2024-10-10 15:57
180

docker.io/gitea/gitea:latest

linux/amd64 docker.io167.12MB2024-10-27 10:25
190

docker.io/gitea/gitea:1.22.3

linux/amd64 docker.io167.12MB2024-11-09 10:46
102

docker.io/gitea/gitea:1.22.4

linux/amd64 docker.io167.39MB2024-11-28 16:48
96

docker.io/gitea/gitea:1.22.6

linux/amd64 docker.io167.45MB2024-12-17 20:34
96

docker.io/gitea/gitea:1.23-rootless

linux/amd64 docker.io166.82MB2025-01-09 16:10
86

docker.io/gitea/gitea:1.23

linux/amd64 docker.io176.72MB2025-01-09 16:42
88

docker.io/gitea/gitea:1.21.1

linux/amd64 docker.io160.10MB2025-02-06 22:26
88

docker.io/gitea/gitea:1.23.1

linux/amd64 docker.io176.74MB2025-02-06 22:26
106

docker.io/gitea/gitea:1.23.3

linux/amd64 docker.io176.39MB2025-02-10 18:00
92

docker.io/gitea/gitea:1.23.4

linux/amd64 docker.io176.59MB2025-02-21 23:58
116

docker.io/gitea/gitea:1.23.5-rootless

linux/amd64 docker.io166.61MB2025-03-23 00:40
35

docker.io/gitea/gitea:1.22.6

linux/arm64 docker.io177.15MB2025-03-29 12:01
19

docker.io/gitea/gitea:1.22.0-rootless

linux/amd64 docker.io157.37MB2025-04-01 23:07
13