docker.io/bats/bats:v1.2.1 linux/amd64

docker.io/bats/bats:v1.2.1 - 国内下载镜像源 浏览次数:12
这里是 Docker 镜像 docker.io/bats/bats 的描述:

BATS

BATS是一个简单的测试框架,可以用来编写和运行测试用例。它支持多种编程语言,如 Bash、Python 和 Ruby 等。

BATS提供了一系列命令行工具,用于执行测试、生成测试报告以及其他功能。你可以使用它来测试你的应用程序、脚本或任何需要验证的代码。

如果你正在寻找一个简单易用的测试框架,那么BATS是一个不错的选择。它是完全开源的,并且支持多种语言,所以你可以根据自己的需求灵活地使用它。

源镜像 docker.io/bats/bats:v1.2.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1
镜像ID sha256:528d2afd26fcd94429a88002826f00311571d3e43ef008e72064933831a9ac6c
镜像TAG v1.2.1
大小 51.43MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 bash bats
工作目录 /code/
OS/平台 linux/amd64
浏览量 12 次
贡献者
镜像创建 2020-07-06T14:16:29.118659933Z
同步时间 2025-04-03 15:57
更新时间 2025-04-04 20:53
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _BASH_GPG_KEY=7C0135FB088AAF6C66C650B9BB5869F064EA74AB _BASH_VERSION=5.0 _BASH_PATCH_LEVEL=0 _BASH_LATEST_PATCH=16

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1  docker.io/bats/bats:v1.2.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1  docker.io/bats/bats:v1.2.1

Shell快速替换命令

sed -i 's#bats/bats:v1.2.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1  docker.io/bats/bats:v1.2.1'

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-07-06 22:16:29  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["bash" "bats"]
                        
# 2020-07-06 22:16:29  0.00B 
/bin/sh -c #(nop) WORKDIR /code/
                        
# 2020-07-06 22:16:28  1.06MB 
/bin/sh -c #(nop) COPY dir:df7899d5de6bb1ada61cd2e85564ccef9e66f47250497c1ac936b2fe7ef9132d in /opt/bats/ 
                        
# 2020-07-06 22:16:28  18.00B 
/bin/sh -c ln -s /opt/bats/bin/bats /usr/local/bin/bats
                        
# 2020-07-06 22:16:27  35.13MB 
/bin/sh -c apk add --no-cache parallel ncurses &&     mkdir -p ~/.parallel && touch ~/.parallel/will-cite
                        
# 2020-02-11 07:21:07  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2020-02-11 07:21:07  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2020-02-11 07:21:06  212.00B 
/bin/sh -c #(nop) COPY file:651b3bebeba8be9162c56b3eb561199905235f3e1c7811232b6c9f48ac333651 in /usr/local/bin/ 
                        
# 2020-02-11 07:21:06  9.65MB 
/bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		bison 		coreutils 		dpkg-dev dpkg 		gcc 		gnupg 		libc-dev 		make 		ncurses-dev 		patch 		tar 	; 		version="$_BASH_VERSION"; 	if [ "$_BASH_PATCH_LEVEL" -gt 0 ]; then 		version="$version.$_BASH_PATCH_LEVEL"; 	fi; 	wget -O bash.tar.gz "https://ftp.gnu.org/gnu/bash/bash-$version.tar.gz"; 	wget -O bash.tar.gz.sig "https://ftp.gnu.org/gnu/bash/bash-$version.tar.gz.sig"; 		if [ "$_BASH_LATEST_PATCH" -gt "$_BASH_PATCH_LEVEL" ]; then 		mkdir -p bash-patches; 		first="$(printf '%03d' "$(( _BASH_PATCH_LEVEL + 1 ))")"; 		last="$(printf '%03d' "$_BASH_LATEST_PATCH")"; 		for patch in $(seq -w "$first" "$last"); do 			url="https://ftp.gnu.org/gnu/bash/bash-$_BASH_VERSION-patches/bash${_BASH_VERSION//./}-$patch"; 			wget -O "bash-patches/$patch" "$url"; 			wget -O "bash-patches/$patch.sig" "$url.sig"; 		done; 	fi; 		export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$_BASH_GPG_KEY"; 	gpg --batch --verify bash.tar.gz.sig bash.tar.gz; 	gpgconf --kill all; 	rm bash.tar.gz.sig; 	if [ -d bash-patches ]; then 		for sig in bash-patches/*.sig; do 			p="${sig%.sig}"; 			gpg --batch --verify "$sig" "$p"; 			rm "$sig"; 		done; 	fi; 	rm -rf "$GNUPGHOME"; 		mkdir -p /usr/src/bash; 	tar 		--extract 		--file=bash.tar.gz 		--strip-components=1 		--directory=/usr/src/bash 	; 	rm bash.tar.gz; 		if [ -d bash-patches ]; then 		for p in bash-patches/*; do 			patch 				--directory=/usr/src/bash 				--input="$(readlink -f "$p")" 				--strip=0 			; 			rm "$p"; 		done; 		rmdir bash-patches; 	fi; 		cd /usr/src/bash; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-readline 		--with-curses 		--without-bash-malloc 	|| { 		cat >&2 config.log; 		false; 	}; 	make -j "$(nproc)"; 	make install; 	cd /; 	rm -r /usr/src/bash; 		rm -r 		/usr/local/share/doc/bash/*.html 		/usr/local/share/info 		/usr/local/share/locale 		/usr/local/share/man 	; 		runDeps="$( 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local 			| tr ',' '\n' 			| sort -u 			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 	)"; 	apk add --no-cache --virtual .bash-rundeps $runDeps; 	apk del .build-deps; 		[ "$(which bash)" = '/usr/local/bin/bash' ]; 	bash --version; 	[ "$(bash -c 'echo "${BASH_VERSION%%[^0-9.]*}"')" = "${_BASH_VERSION%%-*}.$_BASH_LATEST_PATCH" ];
                        
# 2020-02-11 07:20:20  0.00B 
/bin/sh -c #(nop)  ENV _BASH_LATEST_PATCH=16
                        
# 2020-01-23 09:47:56  0.00B 
/bin/sh -c #(nop)  ENV _BASH_PATCH_LEVEL=0
                        
# 2020-01-23 09:47:56  0.00B 
/bin/sh -c #(nop)  ENV _BASH_VERSION=5.0
                        
# 2020-01-23 09:47:56  0.00B 
/bin/sh -c #(nop)  ENV _BASH_GPG_KEY=7C0135FB088AAF6C66C650B9BB5869F064EA74AB
                        
# 2020-01-18 09:19:37  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-01-18 09:19:37  5.59MB 
/bin/sh -c #(nop) ADD file:e69d441d729412d24675dcd33e04580885df99981cec43de8c9b24015313ff8e in / 
                        
                    

镜像信息

{
    "Id": "sha256:528d2afd26fcd94429a88002826f00311571d3e43ef008e72064933831a9ac6c",
    "RepoTags": [
        "bats/bats:v1.2.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats:v1.2.1"
    ],
    "RepoDigests": [
        "bats/bats@sha256:2defd45426be3b5bc7415455ca529c910dab7473717eeece9c3cc26efa5ca037",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bats/bats@sha256:2defd45426be3b5bc7415455ca529c910dab7473717eeece9c3cc26efa5ca037"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-07-06T14:16:29.118659933Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.5",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "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",
            "_BASH_GPG_KEY=7C0135FB088AAF6C66C650B9BB5869F064EA74AB",
            "_BASH_VERSION=5.0",
            "_BASH_PATCH_LEVEL=0",
            "_BASH_LATEST_PATCH=16"
        ],
        "Cmd": null,
        "Image": "sha256:d87f2b520f59143e79dfd5b0f090a7c9e16c33eb55600fd536e7da8b4d2d3d06",
        "Volumes": null,
        "WorkingDir": "/code/",
        "Entrypoint": [
            "bash",
            "bats"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 51434691,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f117f5426495a19e7edc38ec3aae3641ea4b8fd79ffb77b9c39e15160d119e9f/diff:/var/lib/docker/overlay2/28b4fdfd262e8519df0b425fdbf4dfeefedbb1ece65c55650a26c418662572da/diff:/var/lib/docker/overlay2/39ce39a9cd39c0518f1af5f2f578b8237052c51deeaf8f89ef0882ea72b05c67/diff:/var/lib/docker/overlay2/b0b392a2fbb1a910fd6817cdc5d529ea30d9d6a5614e90492142935fead391f6/diff:/var/lib/docker/overlay2/b536b0ea0f262ac9892a7b93b24ab89b3e20b30c541027d85665072856b6cff4/diff:/var/lib/docker/overlay2/0ddeaf6c66f95f6a3079c0512a88ca29b90cd119fb506687e807a80de14ffa4c/diff",
            "MergedDir": "/var/lib/docker/overlay2/983c5e60f6c6720f01b02b5008762358490d31885a1c3ef86a1a8a9330f398e0/merged",
            "UpperDir": "/var/lib/docker/overlay2/983c5e60f6c6720f01b02b5008762358490d31885a1c3ef86a1a8a9330f398e0/diff",
            "WorkDir": "/var/lib/docker/overlay2/983c5e60f6c6720f01b02b5008762358490d31885a1c3ef86a1a8a9330f398e0/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5216338b40a7b96416b8b9858974bbe4acc3096ee60acbc4dfb1ee02aecceb10",
            "sha256:4a9a567ebef065df8c1474201a93daf67f292e27962e0daca15c168954359836",
            "sha256:57642dc0f27d8b8d22b280f9d09a5bae1a7d863273f72a0e378494c176f519a7",
            "sha256:f2e85c5ae4b165fe42bab1fd05e1f8f5bf31cb63bf171a8f4c4a45a61a242e90",
            "sha256:a319127a6655fb3ce5fd25039b06b1fdb82d6a7c58c164d2c9e07cb8dfb1ccce",
            "sha256:c18f429e6deed3275580c7f80a2893a20822e982bd1da52b492fa4747ca27e70",
            "sha256:ec21e701588488d83790898fb39badfa795e1bfc8f3343456597864a63cb0768"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-03T15:57:21.430930721+08:00"
    }
}

更多版本

docker.io/bats/bats:v1.4.1

linux/amd64 docker.io52.38MB2024-09-25 16:06
308

docker.io/bats/bats:1.11.0

linux/amd64 docker.io56.21MB2024-10-23 18:55
179

docker.io/bats/bats:v1.4.1

linux/arm64 docker.io51.40MB2024-11-05 09:19
105

docker.io/bats/bats:1.8.2

linux/amd64 docker.io52.89MB2024-11-08 15:08
109

docker.io/bats/bats:1.11.1

linux/amd64 docker.io56.83MB2025-02-23 00:02
56

docker.io/bats/bats:v1.2.1

linux/amd64 docker.io51.43MB2025-04-03 15:57
11