镜像构建历史
# 2021-07-07 01:55:47 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2021-07-07 01:55:47 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2021-07-07 01:55:46 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2021-07-07 01:55:46 377.00B
/bin/sh -c #(nop) COPY file:c48b97ea65422782310396358f838c38c0747767dd606a88d4c3d0b034a60762 in /usr/local/bin/
# 2021-07-07 01:55:46 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2021-07-07 01:55:46 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2021-07-07 01:55:46 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2021-07-07 01:55:45 25.41MB
/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; 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-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version
# 2021-07-07 01:54:37 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=ba32c406a10fc2c09426e2be2787d74ff204eb3a2e496d87cff76a476b6ae16e
# 2021-07-07 01:54:37 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.4.tar.gz
# 2021-07-07 01:54:36 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=6.2.4
# 2021-07-07 01:54:36 1.29MB
/bin/sh -c apk add --no-cache 'su-exec>=0.2' tzdata
# 2021-07-07 01:54:35 4.70KB
/bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
# 2021-06-16 06:19:37 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2021-06-16 06:19:37 5.60MB
/bin/sh -c #(nop) ADD file:f278386b0cef68136129f5f58c52445590a417b624d62bca158d4dc926c340df in /
镜像信息
{
"Id": "sha256:500703a12fa42704f1901f244f3cb4feb74fb1ca550b2eff4bb22e765eb10971",
"RepoTags": [
"redis:6.2.4-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2.4-alpine"
],
"RepoDigests": [
"redis@sha256:0039796b887fd30e460353f14e46ba1004152aa97f5f59094cc21eac445fc89b",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:8061ca607db2a0c80010aeb5fc9bed0253448bc68711eaa14253a392f6c48280"
],
"Parent": "",
"Comment": "",
"Created": "2021-07-06T17:55:47.308670103Z",
"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",
"REDIS_VERSION=6.2.4",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.4.tar.gz",
"REDIS_DOWNLOAD_SHA=ba32c406a10fc2c09426e2be2787d74ff204eb3a2e496d87cff76a476b6ae16e"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:8ad5b3fdcf9c73817823af884698e8efef15f8833775e7e18e11ccfea17b36d5",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 32298391,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/dcd02776b943a03bb337ebe024b12448bbc69b86651f51df473cf3001ed3da09/diff:/var/lib/docker/overlay2/6ce89b7813aa657b23ff887639a8ecec9608722916b2cd760e021a56f6f9ea15/diff:/var/lib/docker/overlay2/eabf9a4a7a845406b58a0f608703a9c94ba525cdcc4260518112477c6bf1af7e/diff:/var/lib/docker/overlay2/e0780a1903a3366cdd5e87466772df8e2a92785fcc2abbaec16f10b2e9c6a33c/diff:/var/lib/docker/overlay2/74c48135486074b5ccd12a2a8632125d8d8ce2c9e732658e4d618beccf3d6c57/diff",
"MergedDir": "/var/lib/docker/overlay2/35112bf1fb147f9160ea1b685719674dc1a85fc8219680ce78d34b2d967a0fba/merged",
"UpperDir": "/var/lib/docker/overlay2/35112bf1fb147f9160ea1b685719674dc1a85fc8219680ce78d34b2d967a0fba/diff",
"WorkDir": "/var/lib/docker/overlay2/35112bf1fb147f9160ea1b685719674dc1a85fc8219680ce78d34b2d967a0fba/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:72e830a4dff5f0d5225cdc0a320e85ab1ce06ea5673acfe8d83a7645cbd0e9cf",
"sha256:6a6bcd07ed4179f65bb129f79337c445d1ed42e1f668b30ddfa6166ba2cde59d",
"sha256:566e758688c3fd8f1bd92ea69735ed201902ed3e33f5e8bd57feb8c9f318f526",
"sha256:f1439274958ffaf9d3be1a90a6e44bb76a281fa807add2df9b2e850336e85991",
"sha256:d1ab6ec9c1f40a1e6582aae21561b7a64aa66a0f163bdb58fca72bd479057a71",
"sha256:ec779fcf884b6c92de7b3aa8544a2d23475d63327907ea4e2dae52a6ca1714a8"
]
},
"Metadata": {
"LastTagTime": "2024-10-21T17:33:54.491191937+08:00"
}
}