ℹ️
注意:这是一个 latest 标签镜像

latest 并不代表最新版本,本站同步时间存在延迟,无法保证此镜像与上游最新版本一致
生产环境建议使用明确的版本号(如 v1.2.3),避免因版本不一致导致问题。 了解更多 →

logo
ghcr.io/termux/package-builder:latest
linux/amd64 ghcr.io

ghcr.io/termux/package-builder是Termux官方提供的Docker镜像,用于构建适用于Termux环境的软件包,提供了构建过程所需的依赖环境和工具,方便开发者编译、打包Termux平台的应用程序和库。

4
浏览次数
7.26GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest
源镜像
ghcr.io/termux/package-builder:latest
镜像ID
sha256:c90c16315913b44f44718dbd367f3a3d6dff9844b99bf5e1e069cca5a5a83537
镜像 TAG
latest
镜像大小
7.26GB
平台架构
linux/amd64
镜像源
ghcr.io
CMD
/bin/bash
启动入口
工作目录
/home/builder/termux-packages
OS/平台
linux/amd64
镜像创建
2026-08-15T11:57:24.225721555Z
同步时间
2026-08-22 01:27
浏览量
4 次
贡献者
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
LANG=en_US.UTF-8 1
🏷️ 镜像标签 4
KeyValue
2026-07-24T12:48:28.650696+00:00 org.opencontainers.image.created
The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide. org.opencontainers.image.description
ubuntu org.opencontainers.image.title
26.04 org.opencontainers.image.version
🛡️ 镜像安全扫描
ubuntu 26.04 Trivy 2026-08-22 01:29 查看完整报告
230
低危 LOW
1992
中危 MEDIUM
64
高危 HIGH
3
严重 CRITICAL
受影响目标 (5)
ghcr.io/termux/package-builder:latest (ubuntu 26.04) ubuntu Java jar Node.js node-pkg Python python-pkg usr/bin/pebble gobinary

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest  ghcr.io/termux/package-builder:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest  ghcr.io/termux/package-builder:latest

Shell快速替换命令

sed -i 's#ghcr.io/termux/package-builder:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest  ghcr.io/termux/package-builder:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest  ghcr.io/termux/package-builder:latest'

镜像构建历史


# 2026-08-15 19:57:24  0.00B 设置工作目录为/home/builder/termux-packages
WORKDIR /home/builder/termux-packages
                        
# 2026-08-15 19:57:24  0.00B 指定运行容器时使用的用户
USER builder:builder
                        
# 2026-08-15 19:57:24  7.16GB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && 	apt-get -yq upgrade && 	apt-get install -yq sudo lsb-release software-properties-common && 	userdel ubuntu && 	useradd -u 1001 -U -m -s /bin/bash builder && 	echo "builder ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/builder && 	chmod 0440 /etc/sudoers.d/builder && 	chmod a+rx /tmp/termux-packages/scripts/*.sh /tmp/termux-packages/scripts/build/termux_download.sh && 	su - builder -c "TERMUX_PKGS__BUILD__IS_DOCKER_BUILD='true' /tmp/termux-packages/scripts/setup-ubuntu.sh" && 	su - builder -c "TERMUX_PKGS__BUILD__IS_DOCKER_BUILD='true' /tmp/termux-packages/scripts/setup-android-sdk.sh" && 	apt-get remove -yq --autoremove lsb-release software-properties-common && 	apt-get clean && 	rm -rf /var/lib/apt/lists/* && 	su - builder -c "rm ~/lib/*.zip" && 	su - builder -c "rm -r ~/.android/cache/" # buildkit
                        
# 2026-08-15 19:51:45  2.99KB 复制新文件或目录到容器中
COPY ./build/termux_download.sh /tmp/termux-packages/scripts/build/ # buildkit
                        
# 2026-08-15 19:51:45  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/termux-packages/scripts/build # buildkit
                        
# 2026-08-15 19:51:45  111.04KB 复制新文件或目录到容器中
COPY ./llvm-snapshot.gpg.key ./properties.sh ./setup-android-sdk.sh ./setup-cgct.sh ./setup-ubuntu.sh /tmp/termux-packages/scripts/ # buildkit
                        
# 2026-08-15 19:51:44  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/termux-packages/scripts # buildkit
                        
# 2026-08-15 19:51:44  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/termux-packages # buildkit
                        
# 2026-08-15 19:51:44  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c rm -rf /tmp/termux-packages # buildkit
                        
# 2026-08-15 19:51:44  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2026-07-24 20:48:28  179.00B 
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/.temp_layer.control_data.9094.tar
                        
# 2026-07-24 20:48:28  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-07-24T12:48:28.650696+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical

Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

                        
# 2026-07-24 20:48:28  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-07-24T12:48:28.650696+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical

Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

                        
# 2026-07-24 20:48:28  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2026-07-24 20:48:28  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
                        
# 2026-07-24 20:48:28  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
                        
# 2026-07-24 20:48:27  100.16MB 
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-cb40fbba9124333e0158d7876ea798fa/images/.temp_layer.9094.tar --tag 26.04
                        
                    

镜像信息

{
    "Id": "sha256:c90c16315913b44f44718dbd367f3a3d6dff9844b99bf5e1e069cca5a5a83537",
    "RepoTags": [
        "ghcr.io/termux/package-builder:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder:latest"
    ],
    "RepoDigests": [
        "ghcr.io/termux/package-builder@sha256:374fedda8d2ce7a8ab499735d39329301c4f2f18ea4411b3cf7c93d4668768ab",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/termux/package-builder@sha256:374fedda8d2ce7a8ab499735d39329301c4f2f18ea4411b3cf7c93d4668768ab"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-08-15T11:57:24.225721555Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "builder:builder",
        "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",
            "LANG=en_US.UTF-8"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/builder/termux-packages",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2026-07-24T12:48:28.650696+00:00",
            "org.opencontainers.image.description": "The Ubuntu container image maintained by Canonical\n\nUbuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.\nIt is the world's most popular operating system across public clouds and OpenStack clouds.\nIt is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.\nFast, secure and simple, Ubuntu powers millions of PCs worldwide.\n",
            "org.opencontainers.image.title": "ubuntu",
            "org.opencontainers.image.version": "26.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 7264324555,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8494e652b6f774c27da2168712e8cea90d6c00b9f5f04693ceb31a3715e683a4/diff:/var/lib/docker/overlay2/76b03781e6b605b24d1096795e050121d24676a464cb78ede6f4f29d983791c4/diff:/var/lib/docker/overlay2/cc1bb88f1e171ff9ee131b71c2a7768f7bed5a384c8a7366e60de50e99ffbdae/diff:/var/lib/docker/overlay2/59ab78ea87b87dc9cc0f632c75fcc2d7e8689103888ffa0b06e86b2b92db9870/diff:/var/lib/docker/overlay2/ddc08becfcc8cc2d0b9d8ed757c9e7c937d9f32693e0a52283e5ea505c100c22/diff:/var/lib/docker/overlay2/29b13df5fee46fccaa1f3c33b9e2d39a557d7f36362797f87556a3dc10f68f89/diff:/var/lib/docker/overlay2/46691862ecf00ee6844f592156589c8bce71829532e8cc5c98715292fda572eb/diff:/var/lib/docker/overlay2/c6be4bf03e95d8ac1ef8cb02013f3b857cbef96129739ddc28dee8787c21af9e/diff:/var/lib/docker/overlay2/bdb725dc9d23ccb2691f23d7fa5c5a48d4f1c7885c6c6d18ad86cc5503a445af/diff",
            "MergedDir": "/var/lib/docker/overlay2/3db3748de1b27d2c7f2cd6a359ef2bc6d75e28e120c7fd8858705eaa8927ef3f/merged",
            "UpperDir": "/var/lib/docker/overlay2/3db3748de1b27d2c7f2cd6a359ef2bc6d75e28e120c7fd8858705eaa8927ef3f/diff",
            "WorkDir": "/var/lib/docker/overlay2/3db3748de1b27d2c7f2cd6a359ef2bc6d75e28e120c7fd8858705eaa8927ef3f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:24d9bad9efb08e44497f74cc79f9b0400818037a24628fd910db9145e5048649",
            "sha256:d474aac4fedc48314243c3b7171e47cc0ce524fe5ad4bfb97745d08dafca9325",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:4db434c7d53da1a5cce2ece15c86fa79166aa94691d9ff481b4e92d9761da581",
            "sha256:68cd08ea46f9b9fae734207f899ef140cb06386930866302d1e1d8b516d61d60",
            "sha256:584831627de7d1b2365ae190789b944ac17072310bd152c2d1db23bb56f928b9",
            "sha256:eb1e59639ba04028dfae35be8a51f0428d7e43747944024061e42d0df22d58d8",
            "sha256:98ac9d3a52a76fa2b22dbe9568d7fc2bed1aa4e9a080c5b8730aa470b3d9c3b6",
            "sha256:877e9fdc3c5b77f744fbfa8199be4a581e1ada4e9913bcf95b87aeb316068bd2",
            "sha256:44bb0d581d17580ba566602d36a8ecfd2f441f754c320a127495808f579b97be"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-22T01:22:52.546347186+08:00"
    }
}

更多版本

ghcr.io/termux/package-builder:latest

linux/amd64 ghcr.io7.26GB2026-08-22 01:27
3
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×