ghcr.io/canner/wren-ai-service:0.17.0 linux/amd64

ghcr.io/canner/wren-ai-service:0.17.0 - 国内下载镜像源 浏览次数:30
```html

这是一个名为 "wren-ai-service" 的 Docker 容器镜像,托管在 GitHub Container Registry (ghcr.io) 上,由 Canner 组织维护。

该镜像的具体用途和功能需要参考 Canner 提供的镜像文档或相关信息才能确定。 它很可能是一个与 Wren AI 相关的服务。

```
源镜像 ghcr.io/canner/wren-ai-service:0.17.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0
镜像ID sha256:8339bf6b5b782316b06a3c308242bc89dd0c1b985b2b03c4e77d62f262b89ff2
镜像TAG 0.17.0
大小 430.41MB
镜像源 ghcr.io
CMD
启动入口 /app/entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 30 次
贡献者
镜像创建 2025-03-19T09:59:58.382399836Z
同步时间 2025-03-20 15:50
更新时间 2025-04-03 22:08
环境变量
PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.0 PYTHON_PIP_VERSION=23.2.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6 VIRTUAL_ENV=/app/.venv
镜像标签
: ghcr.io/canner/wren-ai-service

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0  ghcr.io/canner/wren-ai-service:0.17.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0  ghcr.io/canner/wren-ai-service:0.17.0

Shell快速替换命令

sed -i 's#ghcr.io/canner/wren-ai-service:0.17.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0  ghcr.io/canner/wren-ai-service:0.17.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0  ghcr.io/canner/wren-ai-service:0.17.0'

镜像构建历史


# 2025-03-19 17:59:58  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/app/entrypoint.sh"]
                        
# 2025-03-19 17:59:58  1.56KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod +x /app/entrypoint.sh # buildkit
                        
# 2025-03-19 17:59:58  1.74KB 复制新文件或目录到容器中
COPY pyproject.toml pyproject.toml # buildkit
                        
# 2025-03-19 17:59:58  1.56KB 复制新文件或目录到容器中
COPY entrypoint.sh /app/entrypoint.sh # buildkit
                        
# 2025-03-19 17:59:58  2.78MB 复制新文件或目录到容器中
COPY src src # buildkit
                        
# 2025-03-19 17:59:58  279.43MB 复制新文件或目录到容器中
COPY /app/.venv /app/.venv # buildkit
                        
# 2025-03-19 17:59:58  0.00B 设置环境变量 VIRTUAL_ENV PATH
ENV VIRTUAL_ENV=/app/.venv PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-03-19 17:58:54  20.04MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt install -y netcat-traditional # buildkit
                        
# 2023-10-22 02:46:15  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2023-10-22 02:46:15  10.46MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends wget; 		wget -O get-pip.py "$PYTHON_GET_PIP_URL"; 	echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	rm -rf /var/lib/apt/lists/*; 		export PYTHONDONTWRITEBYTECODE=1; 		python get-pip.py 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		"pip==$PYTHON_PIP_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.2.1
                        
# 2023-10-22 02:46:15  32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2023-10-22 02:46:15  34.40MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		dpkg-dev 		gcc 		gnupg 		libbluetooth-dev 		libbz2-dev 		libc6-dev 		libdb-dev 		libexpat1-dev 		libffi-dev 		libgdbm-dev 		liblzma-dev 		libncursesw5-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		make 		tk-dev 		uuid-dev 		wget 		xz-utils 		zlib1g-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-system-expat 		--without-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; 	LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 		"PROFILE_TASK=${PROFILE_TASK:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		"PROFILE_TASK=${PROFILE_TASK:-}" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		ldconfig; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| sort -u 		| xargs -r dpkg-query --search 		| cut -d: -f1 		| sort -u 		| xargs -r apt-mark manual 	; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	rm -rf /var/lib/apt/lists/*; 		python3 --version # buildkit
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.0
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
                        
# 2023-10-22 02:46:15  8.48MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		netbase 		tzdata 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2023-10-22 02:46:15  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-10-22 02:46:15  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2023-10-22 02:46:15  74.82MB 
/bin/sh -c #(nop) ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in / 
                        
                    

镜像信息

{
    "Id": "sha256:8339bf6b5b782316b06a3c308242bc89dd0c1b985b2b03c4e77d62f262b89ff2",
    "RepoTags": [
        "ghcr.io/canner/wren-ai-service:0.17.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service:0.17.0"
    ],
    "RepoDigests": [
        "ghcr.io/canner/wren-ai-service@sha256:42ca533bdf20a0bf19e80333a4874a5a8afbd5396e3dc2a82eb61fc1e04a14ae",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/canner/wren-ai-service@sha256:b77e94a53c5bed2075fccdff23195b49463c099241adb9d2346e5cc5920757f1"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-19T09:59:58.382399836Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.0",
            "PYTHON_PIP_VERSION=23.2.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6",
            "VIRTUAL_ENV=/app/.venv"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/app/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "ghcr.io/canner/wren-ai-service": ""
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 430409323,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3d05979f9c9d57a62f45e75a5f98cbac5f7caae5b1b76094b37c2afe35b28d0d/diff:/var/lib/docker/overlay2/5de20f894307a4aaae68a785a5ad527f1302a7e5bfdd2e150278c4de6f8717b3/diff:/var/lib/docker/overlay2/7054d909f3c0d07937c6286cdc7e56caa1a89391552632c2b248566d685b1a12/diff:/var/lib/docker/overlay2/e03041672f5db657fa19b41ff2450524af1e6083143a8ebdacc598179eaf579b/diff:/var/lib/docker/overlay2/58d71912d0c5afe990a7ed9dfbe037999d02493c9c9771bac3f61abd29578204/diff:/var/lib/docker/overlay2/2b8f74d98521c0a81f4d788d27637af78fcd212355bc36bc39edcdab2c63754a/diff:/var/lib/docker/overlay2/ca7a4f74cf04cd59781854a5714b6e9f8f7d7b016cf4fb4bdbc42aa32f7aec43/diff:/var/lib/docker/overlay2/77fd6b6c8c1e38dc2539660923827625a2ce465d79b5d4d33a1e05a4deb078ad/diff:/var/lib/docker/overlay2/e897dfff508ac88ad7bad956b3f60ad4b68bd2177c0732be92baa25291eab9e7/diff:/var/lib/docker/overlay2/02989b4d02bb9160e5c1f5c60f82241807bcdac66d1304f4fdc20b6502ec8a32/diff",
            "MergedDir": "/var/lib/docker/overlay2/485ea7c32beb25053ed1cbb6f18bcc24788374ffe980970728db79b4e9d32641/merged",
            "UpperDir": "/var/lib/docker/overlay2/485ea7c32beb25053ed1cbb6f18bcc24788374ffe980970728db79b4e9d32641/diff",
            "WorkDir": "/var/lib/docker/overlay2/485ea7c32beb25053ed1cbb6f18bcc24788374ffe980970728db79b4e9d32641/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:92770f546e065c4942829b1f0d7d1f02c2eb1e6acf0d1bc08ef0bf6be4972839",
            "sha256:ed123c9f1a56d55ad5533b08040e6518749b1ad01402871e64c0190e6b3334fb",
            "sha256:0f2188789fda590dee0361113177bc5904e0add275282f84242849fd44b4e2a5",
            "sha256:daa0e056b575c553e06c90bb525bdc5bdc2d091f281d68745cd3541bfcc1f44b",
            "sha256:8d69db8508c37ba8666c9d1cfc553619ee9355e140fed3a16887df6d39c867bb",
            "sha256:df11449401f2e5f3d4d2f1cde4edaf9ebfb359eeb41ad1a3deaa08271edd6be4",
            "sha256:dc57b6dd9c7924c2aca4dbc872d965b198b3e30a541ea6a8369ac7b3374ccbd0",
            "sha256:aea431b80b10d6b2269a906edef1e255c357e6b4b2dc3f8feb68a0ac854270cf",
            "sha256:85727ef17046b5eda198417b57ffcf5dc9c62cfc3ea8e581644bd3221b42799c",
            "sha256:36a920a9ddb543c641c990858822e9b971b390052427be347199ec1f45deebd1",
            "sha256:144a97d4877a88a0aa86a9b456294a77061f69499f5673fe364549189fe895c6"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-20T15:50:13.838795679+08:00"
    }
}

更多版本

ghcr.io/canner/wren-ai-service:0.15.7

linux/amd64 ghcr.io428.78MB2025-02-11 19:13
109

docker.io/ghcr.io/canner/wren-ai-service:0.15.18

linux/amd64 docker.io429.69MB2025-03-12 18:01
71

ghcr.io/canner/wren-ai-service:0.16.2

linux/amd64 ghcr.io429.95MB2025-03-17 20:48
34

ghcr.io/canner/wren-ai-service:0.17.0

linux/amd64 ghcr.io430.41MB2025-03-20 15:50
29