2019-12-29 00:07:25 UTC
39.3 MB
1.11
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIS_DOWNLOAD_SHA2676012e2fcfe8d41e594b2ae8a05d0a050d2d84c38a0471ae5fe0143e4b0eca
REDIS_DOWNLOAD_URLhttps://github.com/antirez/redis/archive/6.0-rc1.tar.gz
REDIS_VERSION6.0-rc1
[#000] sha256:8ec398bc03560e0fa56440e96da307cdf0b1ad153f459b52bca53ae7ddb8236d - 65.74% (25.8 MB)
[#001] sha256:da01136793fac089b2ff13c2bf3c9d5d5550420fbd9981e08198fd251a0ab7b4 - 0.0% (1.69 KB)
[#002] sha256:cf1486a2c0b86ddb45238e86c6bf9666c20113f7878e4cd4fa175fd74ac5d5b7 - 3.29% (1.29 MB)
[#003] sha256:bf88906de0fcc88313b8c064bf3e9963678988cc06f25060102c79e76be3861e - 12.85% (5.05 MB)
[#004] sha256:45923ec9d81deffc1e8af1ca91fc7a44d6e1d76ff127e20f5a44f59cb5065b37 - 18.11% (7.12 MB)
[#005] sha256:ec40236ae401206d262b728a0a747dc9b734a4f53685b3e3a3310d5204b5ee11 - 0.0% (97 Bytes)
[#006] sha256:aae55cb5eb99387c92034faa136b490de3a87f88cbc12a11ddec5d2c1fe4d00e - 0.0% (411 Bytes)
/bin/sh -c #(nop) ADD file:04caaf303199c81ff1a94e2e39d5096f9d02b73294b82758e5bc6e23aff94272 in /
2019-12-28 04:21:23 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-12-29 00:04:37 UTC/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
2019-12-29 00:04:37 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.11
2019-12-29 00:04:50 UTC/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
2019-12-29 00:04:50 UTC/bin/sh -c #(nop) ENV REDIS_VERSION=6.0-rc1
2019-12-29 00:04:50 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=https://github.com/antirez/redis/archive/6.0-rc1.tar.gz
2019-12-29 00:04:51 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=2676012e2fcfe8d41e594b2ae8a05d0a050d2d84c38a0471ae5fe0143e4b0eca
2019-12-29 00:06:10 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libc6-i386; rm -rf /var/lib/apt/lists/*
2019-12-29 00:07:23 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget gcc gcc-multilib libc6-dev-i386 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; make -C /usr/src/redis -j "$(nproc)" 32bit; 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; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; redis-cli --version; redis-server --version
2019-12-29 00:07:24 UTC/bin/sh -c mkdir /data && chown redis:redis /data
2019-12-29 00:07:24 UTC/bin/sh -c #(nop) VOLUME [/data]
2019-12-29 00:07:24 UTC/bin/sh -c #(nop) WORKDIR /data
2019-12-29 00:07:25 UTC/bin/sh -c #(nop) COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/
2019-12-29 00:07:25 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2019-12-29 00:07:25 UTC/bin/sh -c #(nop) EXPOSE 6379
2019-12-29 00:07:25 UTC/bin/sh -c #(nop) CMD ["redis-server"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.