镜像构建历史
# 2023-08-16 17:45:17 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2023-08-16 17:45:17 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2023-08-16 17:45:16 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2023-08-16 17:45:16 661.00B
/bin/sh -c #(nop) COPY file:e873a0e3c13001b5e1c63f9dbe60cc65722af522671787f68b8e8cbcae7d02ac in /usr/local/bin/
# 2023-08-16 17:45:16 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2023-08-16 17:45:16 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2023-08-16 17:45:16 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2023-08-16 17:45:16 48.11MB
/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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print 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; redis-cli --version; redis-server --version
# 2023-08-16 17:44:38 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7
# 2023-08-16 17:44:38 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.12.tar.gz
# 2023-08-16 17:44:38 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=7.0.12
# 2023-08-16 17:43:50 4.16MB
/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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
# 2023-08-16 17:43:39 0.00B
/bin/sh -c #(nop) ENV GOSU_VERSION=1.16
# 2023-08-16 17:43:39 4.30KB
/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
# 2023-08-16 07:39:57 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2023-08-16 07:39:57 97.10MB
/bin/sh -c #(nop) ADD file:bc58956fa3d1aff2efb0264655d039fedfff28dc4ff19a65a235e82754ee1cfa in /
镜像信息
{
"Id": "sha256:1c10304795d1876e2ed3ee2f583fea89930bb61abe661638555b8d8611c85d17",
"RepoTags": [
"redis:7.0.12",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:7.0.12-linuxarm64"
],
"RepoDigests": [
"redis@sha256:a030024d2b65447fba04de1e3b440226d78dfe6e4fbc8ab0ca9a44ca6eed0acd",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:5d4497cd48a2df46ebbdf6aeb5592b0afa6db279d994b40516404e19376fcdb8"
],
"Parent": "",
"Comment": "",
"Created": "2023-08-16T09:45:17.156332322Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.23",
"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.16",
"REDIS_VERSION=7.0.12",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.12.tar.gz",
"REDIS_DOWNLOAD_SHA=9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:cd3a59833251c0c84a1ca7e45fe57e9831fd2656ef03a3aa63c01c344dae270c",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "arm64",
"Variant": "v8",
"Os": "linux",
"Size": 149386925,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/c75085778353138f7057ec65063576e15cb26f708628776bad492134937c4781/diff:/var/lib/docker/overlay2/903057d4c589a435196d991a15f6ccbf9a43708165f182faf0d157ddcf17637f/diff:/var/lib/docker/overlay2/2897daa61eb31fe001d80f1838446979b524f2c304f0a1772667fedb129cfab5/diff:/var/lib/docker/overlay2/9d3d41d993a897d0d5f5b985b4da11b17063a83ab6fcb70b605cbca40ee8f600/diff:/var/lib/docker/overlay2/b5f4b76aaef71df047f3942a1d164d0495a469086930c26b9b985a58dfe4174b/diff",
"MergedDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/merged",
"UpperDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/diff",
"WorkDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:1c3daa06574284614db07a23682ab6d1c344f09f8093ee10e5de4152a51677a1",
"sha256:ef44eca2dd00b68c0cd99595d296a84f848b9b99ef40679b6fa651ac5869189a",
"sha256:64a25830d0fbc76d1cdf094bfae887eacf22532cd32a90f991f668287624a973",
"sha256:50fa005aafa9250d8f7bc6ec4b74f82fa150dbda052208acf8ef1b0f79f4045d",
"sha256:891cf046e45ac902fb51c25c1372125fc28ee0189fd1b024e153d9b460108728",
"sha256:b3b8d0e72b752ac552fbea1ce149c5f2b28f9da2d54c8c7336b8c127e860ea32"
]
},
"Metadata": {
"LastTagTime": "2025-01-07T17:06:50.397820932+08:00"
}
}