docker.io/yaming116/sherpa-onnx-asr-tiny:latest linux/amd64

docker.io/yaming116/sherpa-onnx-asr-tiny:latest - 国内下载镜像源 浏览次数:15

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

源镜像 docker.io/yaming116/sherpa-onnx-asr-tiny:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest
镜像ID sha256:e39e38fcf8b629100893f09f9dab4d21be08293e51398da5e390f695893d0a71
镜像TAG latest
大小 890.53MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python app.py
启动入口
工作目录 /app
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2024-06-11T10:57:29.429943361Z
同步时间 2025-08-28 19:42
更新时间 2025-08-29 13:12
开放端口
5001/tcp
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D PYTHON_VERSION=3.11.9 PYTHON_PIP_VERSION=24.0 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9 USE_INT8=1
镜像标签
https://github.com/yaming116/sherpa-onnx-asr: org.opencontainers.image.source

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest  docker.io/yaming116/sherpa-onnx-asr-tiny:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest  docker.io/yaming116/sherpa-onnx-asr-tiny:latest

Shell快速替换命令

sed -i 's#yaming116/sherpa-onnx-asr-tiny:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest  docker.io/yaming116/sherpa-onnx-asr-tiny:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest  docker.io/yaming116/sherpa-onnx-asr-tiny:latest'

镜像构建历史


# 2024-06-11 18:57:29  0.00B 设置默认要执行的命令
CMD ["python" "app.py"]
                        
# 2024-06-11 18:57:29  267.83MB 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c pip install -r requirements.txt # buildkit
                        
# 2024-06-11 18:57:18  1.10MB 复制新文件或目录到容器中
COPY . . # buildkit
                        
# 2024-06-11 18:57:18  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-06-11 18:57:18  16.54MB 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c pip install -i https://pypi.tuna.tsinghua.edu.cn/simple flask # buildkit
                        
# 2024-06-11 18:57:06  0.00B 声明容器运行时监听的端口
EXPOSE map[5001/tcp:{}]
                        
# 2024-06-11 18:57:06  72.08MB 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-zipformer-multi-zh-hans-2023-9-2.tar.bz2     && ls -all     && tar xvf sherpa-onnx-zipformer-multi-zh-hans-2023-9-2.tar.bz2 --strip-components 1 -C /models     && rm sherpa-onnx-zipformer-multi-zh-hans-2023-9-2.tar.bz2     && find /models  -name ${DELETE_NAMES} -exec rm {} \;     && ls -all /models # buildkit
                        
# 2024-06-11 18:56:45  18.10MB 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         bzip2 # buildkit
                        
# 2024-06-11 18:56:43  0.00B 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c mkdir -p /models && chmod -R 777 /models # buildkit
                        
# 2024-06-11 18:56:43  386.69MB 执行命令并创建新的镜像层
RUN |2 DELETE_NAMES=*avg-1.onnx BUILD_INT8=1 /bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         ffmpeg         tar         curl         bzip2     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-06-11 18:56:43  0.00B 设置环境变量 USE_INT8
ENV USE_INT8=1
                        
# 2024-06-11 18:56:43  0.00B 设置环境变量 USE_INT8
ENV USE_INT8=1
                        
# 2024-06-11 18:56:43  0.00B 定义构建参数
ARG BUILD_INT8
                        
# 2024-06-11 18:56:43  0.00B 定义构建参数
ARG DELETE_NAMES=*int8.onnx
                        
# 2024-04-03 23:49:18  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-04-03 23:49:18  12.42MB 执行命令并创建新的镜像层
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" 		"setuptools==$PYTHON_SETUPTOOLS_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=24.0
                        
# 2024-04-03 23:49:18  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
                        
# 2024-04-03 23:49:18  32.00MB 执行命令并创建新的镜像层
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
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.9
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2024-04-03 23:49:18  3.12MB 执行命令并创建新的镜像层
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
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-04-03 23:49:18  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-05-14 09:28:27  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-05-14 09:28:26  80.66MB 
/bin/sh -c #(nop) ADD file:9b38b383dd93169a663eed88edf3f2285b837257ead69dc40ab5ed1fb3f52c35 in / 
                        
                    

镜像信息

{
    "Id": "sha256:e39e38fcf8b629100893f09f9dab4d21be08293e51398da5e390f695893d0a71",
    "RepoTags": [
        "yaming116/sherpa-onnx-asr-tiny:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny:latest"
    ],
    "RepoDigests": [
        "yaming116/sherpa-onnx-asr-tiny@sha256:0a1e37e1db6264de7f4eb8f17132a30429026b3b2e9706b504811b4567697a7b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/yaming116/sherpa-onnx-asr-tiny@sha256:085454f860b45487f4f8751b22d42d07ca8654e931ca5214fcb7119bf25a9e11"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-11T10:57:29.429943361Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5001/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
            "PYTHON_VERSION=3.11.9",
            "PYTHON_PIP_VERSION=24.0",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9",
            "USE_INT8=1"
        ],
        "Cmd": [
            "python",
            "app.py"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.source": "https://github.com/yaming116/sherpa-onnx-asr"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 890530740,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bf7278aac6d463f399fae42d145c04d28cb9901090c6abef3fb4609d75b97a09/diff:/var/lib/docker/overlay2/863c5f22d9738264e9cff31927caf539435f615f72500e9613d5fc9ac3755053/diff:/var/lib/docker/overlay2/6bc61b5476aa1ea82f0e2a9138a74313a95211aaa30c5339deadce67990f925d/diff:/var/lib/docker/overlay2/b78bc082965ee435dad7d1c3de983e9d7a0712f26e53d6ae4a6f82c8080e86e5/diff:/var/lib/docker/overlay2/132e955548f7959b421c102cb8a14e9ade65137b7b09e67a0fa507dd57b10e4e/diff:/var/lib/docker/overlay2/5e700534bf4319f352a65547c6cffb83fbb9a2e6f72fa4926bbec4ed7ffb9518/diff:/var/lib/docker/overlay2/b3236681e38d1455e21e44ccf40bf6a711611619485fbba7d6b8696d5b630ef5/diff:/var/lib/docker/overlay2/deed4cf32bc01cd4116ecc0df39c0db9712be2422eb5efaf936cabeeef3ed126/diff:/var/lib/docker/overlay2/b25b18ec5d7c25be6e9333b42330939c7d1c03ed1bb69839c5890b577bc2ae0a/diff:/var/lib/docker/overlay2/2c78e1053e8c8d69a484ee56d23ce818db3e88a4c929da45e595a0366080c6f4/diff:/var/lib/docker/overlay2/d8924d20bf1670a8d44e0ec28ecfbe6e7c29c932217bd8f7e5ddad64ab749732/diff:/var/lib/docker/overlay2/f830877afcf50b0831e1951d07f5fef05bba7a839f3864041da3f530970a7ef8/diff",
            "MergedDir": "/var/lib/docker/overlay2/ddd796e8cff45770876d23878f812ff27e59f825d6cd5f1cd03f6c12627ccc85/merged",
            "UpperDir": "/var/lib/docker/overlay2/ddd796e8cff45770876d23878f812ff27e59f825d6cd5f1cd03f6c12627ccc85/diff",
            "WorkDir": "/var/lib/docker/overlay2/ddd796e8cff45770876d23878f812ff27e59f825d6cd5f1cd03f6c12627ccc85/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:123eef91533f6745362321baeef5b3fcbb846bbbf250f5b10653d0fab061b90f",
            "sha256:1c8e0f1c7dde6ae3cce8e45d08fb367431b2cd390970699a89eb45e9ccf0d069",
            "sha256:32ad5cf72f72c49c0fcc4b2198e002fef79163ca2906a1194c9dd93e737db4bf",
            "sha256:1c31eb42737831b835216f5acd8d9960f263b1155f51e48cbf652e7231322429",
            "sha256:f12db72d27f6e9537195cf2216758d147639b9d5de9ea375995b2efcafb55a1a",
            "sha256:ca86262d2a2584888c876263be7e082159c9661cf84f2c18c3c549ba298df0ed",
            "sha256:8de0dba75777b20bfd7c2aa7d54e98a42646510c06fea7f1a2492102feb5b80c",
            "sha256:cfeee4a734364e97b40331663bf4116207248ec651c132d8093f3dfc358298aa",
            "sha256:af5aabdff9f7a2e0e1274c69805c96cf07ba5354642f8be3397a378509254abf",
            "sha256:06e14b01754dfbebae64d6fa19a143e523c0d3d9bb8da38976d414e91f2330aa",
            "sha256:136663cd4944dd68480bb25925c8d947f084eec398f6096152bd3112b7d7d9ae",
            "sha256:0a3b1ead6ad0246628e4346d39ab075ec8de1d0629571f4415995813271e55b0",
            "sha256:85ea81af9692d18d3462a895a6beea0d8badf3e7f40ce266aa3754ee8b1555f4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-28T19:41:35.473293045+08:00"
    }
}

更多版本

docker.io/yaming116/sherpa-onnx-asr-tiny:latest

linux/amd64 docker.io890.53MB2025-08-28 19:42
14