镜像构建历史
# 2022-04-05 18:44:49 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2022-04-05 18:44:49 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2022-04-05 18:44:48 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2022-04-05 18:44:48 377.00B
/bin/sh -c #(nop) COPY file:c48b97ea65422782310396358f838c38c0747767dd606a88d4c3d0b034a60762 in /usr/local/bin/
# 2022-04-05 18:44:48 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2022-04-05 18:44:48 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2022-04-05 18:44:48 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2022-04-05 18:44:48 25.45MB
/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
# 2022-04-05 18:43:51 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab
# 2022-04-05 18:43:51 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.6.tar.gz
# 2022-04-05 18:43:51 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=6.2.6
# 2022-04-05 18:42:28 1.34MB
/bin/sh -c apk add --no-cache 'su-exec>=0.2' tzdata
# 2022-04-05 18:42:26 4.70KB
/bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
# 2022-04-05 08:19:59 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2022-04-05 08:19:59 5.57MB
/bin/sh -c #(nop) ADD file:5d673d25da3a14ce1f6cf66e4c7fd4f4b85a3759a9d93efb3fd9ff852b5b56e4 in /
镜像信息
{
"Id": "sha256:34e1dc356a22aadc8d41f9335ad4b5fdcf9f4c1472df3523846ad2e73d7d6c41",
"RepoTags": [
"redis:6.2.6-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.6-alpine"
],
"RepoDigests": [
"redis@sha256:132337b9d7744ffee4fae83f51de53c3530935ad3ba528b7110f2d805f55cbf5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:6c42cce2871e8dc5fb3e843ed5c4e7939d312faf5e53ff0ff4ca955a7e0b2b39"
],
"Parent": "",
"Comment": "",
"Created": "2022-04-05T10:44:49.173940474Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.12",
"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.6",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.6.tar.gz",
"REDIS_DOWNLOAD_SHA=5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:3ff26873f6fd3739da807c7fa45dd525fb2ace4cfda4cef9d8c13ac91df56294",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 32373327,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/30e9ab8cfe424605472b60b051a808636cff84f64c173d0ddfc66a6c664683e3/diff:/var/lib/docker/overlay2/3690d3db035ec479763d77cd47a2fe260a17decb0d195be4a97e1a036db97073/diff:/var/lib/docker/overlay2/5f8535520651574419b48a6b121f4e5cd042711328f7babae898385390e2688e/diff:/var/lib/docker/overlay2/62340c7142053294975b1e1cff014445c4e03971ed164f09476cffaaad8c24cb/diff:/var/lib/docker/overlay2/abcc5a04968d9a34f1c54d0b47401405bed0b2d7c360369f1d97a0875c579984/diff",
"MergedDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/merged",
"UpperDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/diff",
"WorkDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:4fc242d58285699eca05db3cc7c7122a2b8e014d9481f323bd9277baacfa0628",
"sha256:dc57052270aadf8046e40eb300d7aa37c79c0efa39e330c88b812d478d627a6f",
"sha256:af824220a3a6ea38f5a5fc3a0b7eea6ff4746686f0ade79ca60ce3354f5c6c78",
"sha256:6b1c0aa3a559ac3687a49c0fe91e311e476d6aefb6402a47bbb20535a35b6708",
"sha256:be77de932454e16362999c64930e473cb71078c2ab2ac81457c5835022ec7ad0",
"sha256:bede2ea174d817b0b214df0e67171253e4ee6da711ecda1d1d4c6f87bffcab16"
]
},
"Metadata": {
"LastTagTime": "2024-09-25T15:03:24.156797154+08:00"
}
}