2020-04-23 19:54:59 UTC
36.6 MB
1.12
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIS_DOWNLOAD_SHA1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7
REDIS_DOWNLOAD_URLhttp://download.redis.io/releases/redis-4.0.14.tar.gz
REDIS_VERSION4.0.14
[#000] sha256:54fec2fa59d0a0de9cd2dec9850b36c43de451f1fd1c0a5bf8f1cf26a61a5da4 - 70.55% (25.8 MB)
[#001] sha256:9c94e11103d92f2a83b82e5d4287445cba073af0002cecee98d85d68ccec0f89 - 0.0% (1.69 KB)
[#002] sha256:04ab1bfc453f19989c401c2f0622df3363b5182bdea1af9e59ee2ceea3a9931c - 3.69% (1.35 MB)
[#003] sha256:407bb1ef9ed6dc6e3c72770f9d7326757635ddbec3d413fb205ea22f91e5532d - 25.75% (9.43 MB)
[#004] sha256:4ac4497866a0a82c6fc57ac5e47a9354c00882ca698c84fa0b291d0b46a00ad1 - 0.0% (97 Bytes)
[#005] sha256:c668b62234290b87a11ae49eede41cd01bd472962750dcf7a0cb7314143accd2 - 0.0% (413 Bytes)
/bin/sh -c #(nop) ADD file:9b8be2b52ee0fa31da1b6256099030b73546253a57e94cccb24605cd888bb74d in /
2020-04-23 00:20:32 UTC/bin/sh -c #(nop) CMD ["bash"]
2020-04-23 19:48:34 UTC/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
2020-04-23 19:48:34 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2020-04-23 19:48:46 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
2020-04-23 19:53:13 UTC/bin/sh -c #(nop) ENV REDIS_VERSION=4.0.14
2020-04-23 19:53:13 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-4.0.14.tar.gz
2020-04-23 19:53:13 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7
2020-04-23 19:54:57 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget gcc libc6-dev-i386 gcc-multilib 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; 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
2020-04-23 19:54:58 UTC/bin/sh -c mkdir /data && chown redis:redis /data
2020-04-23 19:54:58 UTC/bin/sh -c #(nop) VOLUME [/data]
2020-04-23 19:54:59 UTC/bin/sh -c #(nop) WORKDIR /data
2020-04-23 19:54:59 UTC/bin/sh -c #(nop) COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/
2020-04-23 19:54:59 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2020-04-23 19:54:59 UTC/bin/sh -c #(nop) EXPOSE 6379
2020-04-23 19:54:59 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.