镜像构建历史
# 2023-04-18 06:53:25 0.00B
/bin/sh -c #(nop) CMD ["redis-server"]
# 2023-04-18 06:53:25 0.00B
/bin/sh -c #(nop) EXPOSE 6379
# 2023-04-18 06:53:25 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2023-04-18 06:53:25 664.00B
/bin/sh -c #(nop) COPY file:a9e7249f657e2eec627bb4be492ad18aae3e5e1f0e47d22644eaf1ef2138c0ce in /usr/local/bin/
# 2023-04-18 06:53:25 0.00B
/bin/sh -c #(nop) WORKDIR /data
# 2023-04-18 06:53:25 0.00B
/bin/sh -c #(nop) VOLUME [/data]
# 2023-04-18 06:53:25 0.00B
/bin/sh -c mkdir /data && chown redis:redis /data
# 2023-04-18 06:53:24 18.89MB
/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
# 2023-04-18 06:52:49 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=75352eef41e97e84bfa94292cbac79e5add5345fc79787df5cbdff703353fb1b
# 2023-04-18 06:52:49 0.00B
/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.12.tar.gz
# 2023-04-18 06:52:48 0.00B
/bin/sh -c #(nop) ENV REDIS_VERSION=6.2.12
# 2023-03-30 10:03:49 1.17MB
/bin/sh -c apk add --no-cache 'su-exec>=0.2' tzdata
# 2023-03-30 10:03:48 4.70KB
/bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
# 2023-03-30 02:19:24 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2023-03-30 02:19:24 7.05MB
/bin/sh -c #(nop) ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in /
镜像信息
{
"Id": "sha256:a9a47a706682d445577bb5da7328f0faaa0863a5742a315c829faa461dfc23ae",
"RepoTags": [
"redis:6.2.12-alpine3.17",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.12-alpine3.17"
],
"RepoDigests": [
"redis@sha256:0bb58d0fec5900dd82002b53b9d2dc0dfbd1831e7d2570cb4e66ff1a9464b134",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:046f3913a13b517da79657f36e103015db8c0fac1bc5af580d5e8ef5e2273d04"
],
"Parent": "",
"Comment": "",
"Created": "2023-04-17T22:53:25.696074726Z",
"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",
"REDIS_VERSION=6.2.12",
"REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.12.tar.gz",
"REDIS_DOWNLOAD_SHA=75352eef41e97e84bfa94292cbac79e5add5345fc79787df5cbdff703353fb1b"
],
"Cmd": [
"redis-server"
],
"Image": "sha256:1c04fbea28724c34d523b62828865980275eb9d813a4b1d20a781d1cf0e783ef",
"Volumes": {
"/data": {}
},
"WorkingDir": "/data",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 27108846,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9eff2c437efdba649b4c0289ca537909d2b9229b68e2d9fa7266669702369c09/diff:/var/lib/docker/overlay2/27147ded01846845f74a4cec4bac0b54839bac8238699429be652e77d7367938/diff:/var/lib/docker/overlay2/8f3f9af420018475acbe5d4890d1abd48c76417ae4d0cd4e8f0be9669fd0b979/diff:/var/lib/docker/overlay2/33fe75e594d045b291f42c5cd0ddb379473c1ae4d7d9c292996f9de6c3e85402/diff:/var/lib/docker/overlay2/f2652b4873c0a7b3b77e7f06fb252ade6a1faa73f27e33befe152f7e9b6e7bce/diff",
"MergedDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/merged",
"UpperDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/diff",
"WorkDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f1417ff83b319fbdae6dd9cd6d8c9c88002dcd75ecf6ec201c8c6894681cf2b5",
"sha256:a2138152cd2d359aa6cd553342bd5545b44c0228135cd38315fae9682c089e9f",
"sha256:f566a03a38b980d5557b4ecd068a4c4562ae7ac98ce4e5bb6ff89600fb16c556",
"sha256:e6822b82cab7e04ee1323e6d68a078ae5e8838513f1a669b539469ee4a4e3912",
"sha256:12bbafdaefbbcd5b99d94f882c7912dfc9c7ccdead075d5577e77b683c9369b5",
"sha256:254abfda949018ea397af542fd1aa91529c4c67fa3dc13fcd7b4b599f7e72cb2"
]
},
"Metadata": {
"LastTagTime": "2025-01-08T10:41:44.030427519+08:00"
}
}