2019-09-12 19:01:53 UTC
38.9 MB
1.11
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIS_DOWNLOAD_SHA2139009799d21d8ff94fc40b7f36ac46699b9e1254086299f8d3b223ca54a375
REDIS_DOWNLOAD_URLhttp://download.redis.io/releases/redis-5.0.5.tar.gz
REDIS_VERSION5.0.5
[#000] sha256:b8f262c62ec67f02536f49654de586c022043652bbb6bbf76a8dab1542627a8d - 66.48% (25.8 MB)
[#001] sha256:93789b5343a51552a3162d091f1a44ca15d8119268e52b93b7784aeaf68501b4 - 0.0% (1.69 KB)
[#002] sha256:49cdbb3156375a1653ca6c27740db893fd43268f5ead6a2ef291e8d3d90c3977 - 3.33% (1.29 MB)
[#003] sha256:757b897b52a22b07fcbdc3086b87eb39d448055fad3f6dc4e60664a1788629dd - 12.99% (5.05 MB)
[#004] sha256:643f54e723e174db6139294b0210bcb2d6063da30003f96932d837a0f2126578 - 17.19% (6.68 MB)
[#005] sha256:8bf1bf97166b0582de1b692fbcfad3e8e0cfe254bac69df5476e92868596aca1 - 0.0% (97 Bytes)
[#006] sha256:80808a6615feb9c9aa0ad54c57c04cf769f0e3bc0186a0070a6a19969dd5a6ad - 0.0% (414 Bytes)
/bin/sh -c #(nop) ADD file:1901172d26545609083e48b9bfaf2cb46674f37af0902ad5a32e2420301225de in /
2019-09-11 23:22:24 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-09-12 18:59:08 UTC/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
2019-09-12 18:59:08 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.11
2019-09-12 18:59:22 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-09-12 18:59:23 UTC/bin/sh -c #(nop) ENV REDIS_VERSION=5.0.5
2019-09-12 18:59:23 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-5.0.5.tar.gz
2019-09-12 18:59:23 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=2139009799d21d8ff94fc40b7f36ac46699b9e1254086299f8d3b223ca54a375
2019-09-12 19:00:41 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-09-12 19:01:51 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 -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 1$' /usr/src/redis/src/server.h; sed -ri 's!^(#define CONFIG_DEFAULT_PROTECTED_MODE) 1$!\1 0!' /usr/src/redis/src/server.h; grep -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 0$' /usr/src/redis/src/server.h; 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-09-12 19:01:52 UTC/bin/sh -c mkdir /data && chown redis:redis /data
2019-09-12 19:01:52 UTC/bin/sh -c #(nop) VOLUME [/data]
2019-09-12 19:01:52 UTC/bin/sh -c #(nop) WORKDIR /data
2019-09-12 19:01:52 UTC/bin/sh -c #(nop) COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/
2019-09-12 19:01:53 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2019-09-12 19:01:53 UTC/bin/sh -c #(nop) EXPOSE 6379
2019-09-12 19:01:53 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.