镜像构建历史
# 2022-09-13 20:13:04 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2022-09-13 20:13:04 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2022-09-13 20:13:04 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2022-09-13 20:13:04 661.00B
/bin/sh -c #(nop) COPY file:e873a0e3c13001b5e1c63f9dbe60cc65722af522671787f68b8e8cbcae7d02ac in /usr/local/bin/
# 2022-09-13 20:13:03 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2022-09-13 20:13:03 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2022-09-13 20:13:03 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2022-09-13 20:13:03 31.96MB
/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
# 2022-09-13 20:12:17 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f
# 2022-09-13 20:12:17 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.4.tar.gz
# 2022-09-13 20:12:16 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=7.0.4
# 2022-09-13 20:12:16 4.13MB
/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
# 2022-09-13 20:12:05 0.00B
/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
# 2022-09-13 20:12:05 328.57KB
/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
# 2022-09-13 08:56:29 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2022-09-13 08:56:29 80.50MB
/bin/sh -c #(nop) ADD file:5bd53bff884e470b3c12425132975ab9c6f99002c62c43bca1ff5cde9d863b92 in /
镜像信息
{
"Id": "sha256:2460522297a148c1bcb477b126451ed44cca05c916694367313be1a91c69f793",
"RepoTags": [
"redis:7.0.4",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:7.0.4"
],
"RepoDigests": [
"redis@sha256:091a7b5de688f283b30a4942280b64cf822bbdab0abfb2d2ce6db989f2d3c3f4",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:f3be7cc42282295cdd2ccaafd10e6f315df4d3ce6f27f6d00946b294395966f1"
],
"Parent": "",
"Comment": "",
"Created": "2022-09-13T12:13:04.343351094Z",
"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",
"GOSU_VERSION=1.14",
"REDIS_VERSION=7.0.4",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.4.tar.gz",
"REDIS_DOWNLOAD_SHA=f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:c826033098f05bdba6617980dad59d979793b28681c5828d4eda611297ffe3eb",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 116920647,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/d8eaa9cba7e9dd34d802225122d45a5777479983984339457e0d30563a9cf2f5/diff:/var/lib/docker/overlay2/124b1802f684d9cdc2460d585d8d159ed5ff8e7798b961fcafde20799ddf3a8e/diff:/var/lib/docker/overlay2/830a58ccdbfb98ae43c756d77611191a6b656a9804934f2f17f4bdc2cdd413cd/diff:/var/lib/docker/overlay2/ea6c3f8441d830d64ffdbcb58771f8be52b268611d9a379ca1796383f50fc2cd/diff:/var/lib/docker/overlay2/559c112f576d8c31b9de4a3130ac3811c59baa96d412a45f5987dc581f5632a3/diff",
"MergedDir": "/var/lib/docker/overlay2/3df5cd402279d6930d0ecfa6963c6d1705133b58409e6f0f6e5b5ef757cba6b7/merged",
"UpperDir": "/var/lib/docker/overlay2/3df5cd402279d6930d0ecfa6963c6d1705133b58409e6f0f6e5b5ef757cba6b7/diff",
"WorkDir": "/var/lib/docker/overlay2/3df5cd402279d6930d0ecfa6963c6d1705133b58409e6f0f6e5b5ef757cba6b7/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:b45078e74ec97c5e600f6d5de8ce6254094fb3cb4dc5e1cc8335fb31664af66e",
"sha256:0b154a0438a111c2b29e24988b9d95f3bd92a1bad989b762637554ac5f1ddc9d",
"sha256:2a84f25223bae700b2c8e1edcfdbb50e8d393998327bbe90ac256e2b1526b48b",
"sha256:c36b6412efc78adc2b21d393d5fc3de95528d1b8e717dc5dc75594515b703029",
"sha256:05624768315e8cb78575b6e0ce06b595f3036e50d7176bd285a61471a5d4477c",
"sha256:d58f88be5e78bda5dde93356985397844743c4a99b1775f577e33373beba2e96"
]
},
"Metadata": {
"LastTagTime": "2024-12-09T22:52:51.782785984+08:00"
}
}