docker.io/forgejoclone/forgejo:12.0.0-rootless linux/amd64

docker.io/forgejoclone/forgejo:12.0.0-rootless - 国内下载镜像源 浏览次数:12
源镜像 docker.io/forgejoclone/forgejo:12.0.0-rootless
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless
镜像ID sha256:a391c658485576a54abf6fa2e3390f39635c639489574cc3b65dbefc8a8783d1
镜像TAG 12.0.0-rootless
大小 169.48MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/bin/dumb-init -- /usr/local/bin/docker-entrypoint.sh
工作目录 /var/lib/gitea
OS/平台 linux/amd64
浏览量 12 次
贡献者
镜像创建 2025-07-17T05:21:37.011893568Z
同步时间 2025-08-30 01:26
更新时间 2025-08-30 20:28
开放端口
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_LEGACY=/etc/gitea/app.ini GITEA_APP_INI=/var/lib/gitea/custom/conf/app.ini HOME=/var/lib/gitea/git
镜像标签
contact@forgejo.org: maintainer Forgejo: org.opencontainers.image.authors Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.: org.opencontainers.image.description https://forgejo.org/download/#container-image: org.opencontainers.image.documentation GPL-3.0-or-later: org.opencontainers.image.licenses https://codeberg.org/forgejo/forgejo: org.opencontainers.image.source Forgejo. Beyond coding. We forge.: org.opencontainers.image.title https://forgejo.org: org.opencontainers.image.url Forgejo: org.opencontainers.image.vendor 12.0.0: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless  docker.io/forgejoclone/forgejo:12.0.0-rootless

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless  docker.io/forgejoclone/forgejo:12.0.0-rootless

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-07-17 13:21:37  0.00B 设置默认要执行的命令
CMD []
                        
# 2025-07-17 13:21:37  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/dumb-init" "--" "/usr/local/bin/docker-entrypoint.sh"]
                        
# 2025-07-17 13:21:37  0.00B 设置工作目录为/var/lib/gitea
WORKDIR /var/lib/gitea
                        
# 2025-07-17 13:21:37  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/gitea /etc/gitea]
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 HOME
ENV HOME=/var/lib/gitea/git
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 GITEA_APP_INI
ENV GITEA_APP_INI=/var/lib/gitea/custom/conf/app.ini
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 GITEA_APP_INI_LEGACY
ENV GITEA_APP_INI_LEGACY=/etc/gitea/app.ini
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 TMPDIR
ENV TMPDIR=/tmp/gitea
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 GITEA_TEMP
ENV GITEA_TEMP=/tmp/gitea
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 GITEA_CUSTOM
ENV GITEA_CUSTOM=/var/lib/gitea/custom
                        
# 2025-07-17 13:21:37  0.00B 设置环境变量 GITEA_WORK_DIR
ENV GITEA_WORK_DIR=/var/lib/gitea
                        
# 2025-07-17 13:21:37  0.00B 指定运行容器时使用的用户
USER 1000:1000
                        
# 2025-07-17 13:21:37  935.00B 复制新文件或目录到容器中
COPY /go/src/forgejo.org/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh # buildkit
                        
# 2025-07-17 13:21:37  14.62MB 复制新文件或目录到容器中
COPY --chown=root:root /go/src/forgejo.org/environment-to-ini /usr/local/bin/environment-to-ini # buildkit
                        
# 2025-07-17 13:21:36  16.00B 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /bin/sh -c ln -s /app/gitea/gitea /app/gitea/forgejo-cli # buildkit
                        
# 2025-07-17 13:21:36  108.25MB 复制新文件或目录到容器中
COPY --chown=root:root /go/src/forgejo.org/gitea /app/gitea/gitea # buildkit
                        
# 2025-07-17 13:21:36  5.00B 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /bin/sh -c cd /usr/local/bin ; ln -s gitea forgejo # buildkit
                        
# 2025-07-17 13:21:36  5.48KB 复制新文件或目录到容器中
COPY /tmp/local / # buildkit
                        
# 2025-07-17 13:19:31  0.00B 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /bin/sh -c chown git:git /var/lib/gitea /etc/gitea # buildkit
                        
# 2025-07-17 13:19:31  0.00B 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /bin/sh -c mkdir -p /var/lib/gitea /etc/gitea # buildkit
                        
# 2025-07-17 13:19:31  3.04KB 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /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
                        
# 2025-07-17 13:19:31  38.29MB 执行命令并创建新的镜像层
RUN |1 RELEASE_VERSION=12.0.0 /bin/sh -c apk --no-cache add     bash     ca-certificates     dumb-init     gettext     git     curl     gnupg     openssh-client     && rm -rf /var/cache/apk/* # buildkit
                        
# 2025-07-17 13:19:31  0.00B 声明容器运行时监听的端口
EXPOSE map[2222/tcp:{} 3000/tcp:{}]
                        
# 2025-07-17 13:19:31  0.00B 添加元数据标签
LABEL maintainer=contact@forgejo.org org.opencontainers.image.authors=Forgejo org.opencontainers.image.url=https://forgejo.org org.opencontainers.image.documentation=https://forgejo.org/download/#container-image org.opencontainers.image.source=https://codeberg.org/forgejo/forgejo org.opencontainers.image.version=12.0.0 org.opencontainers.image.vendor=Forgejo org.opencontainers.image.licenses=GPL-3.0-or-later org.opencontainers.image.title=Forgejo. Beyond coding. We forge. org.opencontainers.image.description=Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.
                        
# 2025-07-17 13:19:31  0.00B 定义构建参数
ARG RELEASE_VERSION=12.0.0
                        
# 2025-07-15 19:01:16  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-07-15 19:01:16  8.31MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:a391c658485576a54abf6fa2e3390f39635c639489574cc3b65dbefc8a8783d1",
    "RepoTags": [
        "forgejoclone/forgejo:12.0.0-rootless",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo:12.0.0-rootless"
    ],
    "RepoDigests": [
        "forgejoclone/forgejo@sha256:8fe47fc1747b1e7df1a3dc6a0bab5dd477894bce88795063db37afd28c73b2f4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/forgejoclone/forgejo@sha256:8fe47fc1747b1e7df1a3dc6a0bab5dd477894bce88795063db37afd28c73b2f4"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-07-17T05:21:37.011893568Z",
    "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_LEGACY=/etc/gitea/app.ini",
            "GITEA_APP_INI=/var/lib/gitea/custom/conf/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": "contact@forgejo.org",
            "org.opencontainers.image.authors": "Forgejo",
            "org.opencontainers.image.description": "Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.",
            "org.opencontainers.image.documentation": "https://forgejo.org/download/#container-image",
            "org.opencontainers.image.licenses": "GPL-3.0-or-later",
            "org.opencontainers.image.source": "https://codeberg.org/forgejo/forgejo",
            "org.opencontainers.image.title": "Forgejo. Beyond coding. We forge.",
            "org.opencontainers.image.url": "https://forgejo.org",
            "org.opencontainers.image.vendor": "Forgejo",
            "org.opencontainers.image.version": "12.0.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 169477286,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d92d61ceaa7c0a7e3ffb21c267b2433a9d2c3502a34163e9c20c4c606226bae1/diff:/var/lib/docker/overlay2/6f5789359b6fdbb87c850b24a60d5fc69c65cda74d4125e7467e312708d90fdd/diff:/var/lib/docker/overlay2/36ea1ac66d03faf56caf52f1407f882ec9897ba9e0ad8f8b8559db96fa300e41/diff:/var/lib/docker/overlay2/e65bb63e4834b397417173dfa4341c4f204e8cbbfd361e5eb67306fd5bd9ce7e/diff:/var/lib/docker/overlay2/4ff927c8300396ab87e42f4ea3b65ba0e7e068ed9a40aff33cd0c82f77a103db/diff:/var/lib/docker/overlay2/026d3e750d2314c681e6fa4c7b110e89cb17c7528b8783a058bda9db0ae3f587/diff:/var/lib/docker/overlay2/9d6b4af0701c7077ea4f834140cd8de20cfc749f7917564ff1351118736cc9e4/diff:/var/lib/docker/overlay2/25d354cbe51c24d326e4911879570f0b1d680ee7a9e6eaae21c3ef4abace5630/diff:/var/lib/docker/overlay2/7fedbbd2170a2bce1fbd2d5ce1171ba7a6300e98b9e4ffd3dc10aefd3672568c/diff:/var/lib/docker/overlay2/7b6a4f167031178ec3f2e814e9b1ff7c6926534e9b9ee226e6d2fe112130bed0/diff:/var/lib/docker/overlay2/fce31083bf78fb669ced5e473ada166388fb6191ae6144c91b94c9a1629510cc/diff",
            "MergedDir": "/var/lib/docker/overlay2/94bc43d6ce4ecb577b9fa94e000bfab9d59fb5b756745ec9bbbf268a4aaa66b5/merged",
            "UpperDir": "/var/lib/docker/overlay2/94bc43d6ce4ecb577b9fa94e000bfab9d59fb5b756745ec9bbbf268a4aaa66b5/diff",
            "WorkDir": "/var/lib/docker/overlay2/94bc43d6ce4ecb577b9fa94e000bfab9d59fb5b756745ec9bbbf268a4aaa66b5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:418dccb7d85a63a6aa574439840f7a6fa6fd2321b3e2394568a317735e867d35",
            "sha256:efae209f07f0056e1ef2938220e40f09bb25bf53ea1629a9fab266d668f28e5d",
            "sha256:f5ddfd043cb5c8ea0959b59f9e36158ee1bef1b65e028814faf6ab696d5973c9",
            "sha256:133c0c4160d014306c40ef7e75ef5781e78a4281c08fb9b19460f9e79ca509ed",
            "sha256:ef3ec835fdf42461dd8191e993fae26a0126c25f84c76e63f94a900a4a83d95d",
            "sha256:5aca54f2ebbcf06eb5b27dcb7131c9f89ff6144dff96096052b4275cf78804ff",
            "sha256:8366f54346920c7ca0d59d8392bdbb75f86223c15094afd01762b101256ea61e",
            "sha256:3faf4980b720267124aee2a190ae7990fc1c33e6c3e2226c9580bf9c3bd75c6d",
            "sha256:31b126d765bc2791280faf264ef83fdf018ec4d99f84e4b7a97b85eadcf61dac",
            "sha256:0976e05bb80d99ce9946679adc33b43d10442b203f19bd586576600e59468f22",
            "sha256:55e984bdec088efdf06705af45001c1d046ba1569bc51d7ddec4eb804c2e0830",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-30T01:26:48.599180698+08:00"
    }
}

更多版本

docker.io/forgejoclone/forgejo:12.0.0-rootless

linux/amd64 docker.io169.48MB2025-08-30 01:26
11