镜像构建历史
# 2021-09-28 22:59:18 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2021-09-28 22:59:18 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2021-09-28 22:59:18 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2021-09-28 22:59:17 374.00B
/bin/sh -c #(nop) COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/
# 2021-09-28 22:59:17 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2021-09-28 22:59:17 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2021-09-28 22:59:17 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2021-09-28 22:59:16 31.65MB
/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget dpkg-dev gcc libc6-dev libssl-dev make ; rm -rf /var/lib/apt/lists/*; wget -O redis.tar.gz "$REDIS_DOWNLOAD_URL"; echo "$REDIS_DOWNLOAD_SHA *redis.tar.gz" | sha256sum -c -; mkdir -p /usr/src/redis; tar -xzf redis.tar.gz -C /usr/src/redis --strip-components=1; rm redis.tar.gz; grep -E '^ *createBoolConfig[(]"protected-mode",.*, *1 *,.*[)],$' /usr/src/redis/src/config.c; sed -ri 's!^( *createBoolConfig[(]"protected-mode",.*, *)1( *,.*[)],)$!\10\2!' /usr/src/redis/src/config.c; grep -E '^ *createBoolConfig[(]"protected-mode",.*, *0 *,.*[)],$' /usr/src/redis/src/config.c; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; extraJemallocConfigureFlags="--build=$gnuArch"; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64 | i386 | x32) extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-page=12" ;; *) extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-page=16" ;; esac; extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-hugepage=21"; grep -F 'cd jemalloc && ./configure ' /usr/src/redis/deps/Makefile; sed -ri 's!cd jemalloc && ./configure !&'"$extraJemallocConfigureFlags"' !' /usr/src/redis/deps/Makefile; grep -F "cd jemalloc && ./configure $extraJemallocConfigureFlags " /usr/src/redis/deps/Makefile; export BUILD_TLS=yes; make -C /usr/src/redis -j "$(nproc)" all; make -C /usr/src/redis install; serverMd5="$(md5sum /usr/local/bin/redis-server | cut -d' ' -f1)"; export serverMd5; find /usr/local/bin/redis* -maxdepth 0 -type f -not -name redis-server -exec sh -eux -c ' md5="$(md5sum "$1" | cut -d" " -f1)"; test "$md5" = "$serverMd5"; ' -- '{}' ';' -exec ln -svfT 'redis-server' '{}' ';' ; rm -r /usr/src/redis; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | 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; redis-cli --version; redis-server --version
# 2021-09-28 22:58:29 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=4b9a75709a1b74b3785e20a6c158cab94cf52298aa381eea947a678a60d551ae
# 2021-09-28 22:58:29 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.5.tar.gz
# 2021-09-28 22:58:29 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=6.2.5
# 2021-09-28 22:58:29 4.24MB
/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates dirmngr gnupg wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
# 2021-09-28 22:58:12 0.00B
/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
# 2021-09-28 22:58:12 332.57KB
/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
# 2021-09-28 09:41:13 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2021-09-28 09:41:13 63.46MB
/bin/sh -c #(nop) ADD file:3e2426765cfe2b896fc847bcb435624930753c72ac00b87d2c73f4a81c813fd4 in /
镜像信息
{
"Id": "sha256:a786b3e2fcb8166355da683c21ce21511ebadbc5b8cb3e41441be749d2121211",
"RepoTags": [
"redis:6.2.5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2.5-linuxarm64"
],
"RepoDigests": [
"redis@sha256:c98f0230b5f1831f4f5dd764c4ea8ef11d3e3a1a3593278eb952373d97c82b27",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:20c41200dc57c3ae0649cbfd0a8e2a2df1099cfac42c323997a33df31c48c25a"
],
"Parent": "",
"Comment": "",
"Created": "2021-09-28T14:59:18.489885135Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.7",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"6379/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOSU_VERSION=1.12",
"REDIS_VERSION=6.2.5",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.5.tar.gz",
"REDIS_DOWNLOAD_SHA=4b9a75709a1b74b3785e20a6c158cab94cf52298aa381eea947a678a60d551ae"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:86e96f7179332c61c76d341803ab72ed24c841d949fc896568060fd556cbfa49",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "arm64",
"Variant": "v8",
"Os": "linux",
"Size": 99685074,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7fa8e080d85caae649727dea17da301b7c6e112934e9ec2c1415194a99cc8824/diff:/var/lib/docker/overlay2/9fab993ab8c431437e929c66baad32dbc84cdd57de81f0f4a715bca9e36091e5/diff:/var/lib/docker/overlay2/ce0494eb6dbba4929d7c6e6b31510176396352f70608aa226dfd1a2d16949fd4/diff:/var/lib/docker/overlay2/fe78df76ec5c703eeb79439bb0b748f7e535285133783df746a9b6545312be7d/diff:/var/lib/docker/overlay2/1d1eba2f44f88db7eec75612105dad76da20c59593e150c74bf668eb75c65109/diff",
"MergedDir": "/var/lib/docker/overlay2/e5483e8987e96dc11f9d5d7bf85c80d40eb0703d09c0b874baa06c084d854eca/merged",
"UpperDir": "/var/lib/docker/overlay2/e5483e8987e96dc11f9d5d7bf85c80d40eb0703d09c0b874baa06c084d854eca/diff",
"WorkDir": "/var/lib/docker/overlay2/e5483e8987e96dc11f9d5d7bf85c80d40eb0703d09c0b874baa06c084d854eca/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a7260ff5cfe4699078f5881f5b0b37191115a5f35219cb1d1af96ce94e3d523c",
"sha256:e494b503ee146381ef2e16ef112a77515ce19f317aacd66fd90487aa3db4625f",
"sha256:57e26679dc9d883e13d6bbb2a7098a1587913da2ba29c2646f7b5b4dd86b7d4a",
"sha256:055d9ade51733251a06d2900f265827a36d579464f25bc75804402f39ec9d413",
"sha256:b45a091044c670db49f4b5fce829f07a3b515783771d3db636fea77911d1b2be",
"sha256:1c6f7e9020b57b3d9084c3f7397f0cf3af23fc49264c6aa5b77395173d857817"
]
},
"Metadata": {
"LastTagTime": "2025-08-21T09:19:40.258771773+08:00"
}
}