2022-11-15 14:45:14 UTC
42.2 MB
1.14
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIS_DOWNLOAD_SHA3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32
REDIS_DOWNLOAD_URLhttp://download.redis.io/releases/redis-5.0.14.tar.gz
REDIS_VERSION5.0.14
[#000] sha256:a603fa5e3b4127f210503aaa6189abf6286ee5a73deeaab460f8f33ebc6b64e2 - 70.91% (30 MB)
[#001] sha256:77631c3ef0922c63e846d9755304f8101f6ff8a242e32f41074568ea5a83f3f7 - 0.0% (1.69 KB)
[#002] sha256:ed3847cf62b8f38b8b9802ab9a8154d24d8fbc8bf24633c8017fa148ba335e21 - 3.19% (1.35 MB)
[#003] sha256:735d1cc45c4c4905cfe07dc10e6999edc85c6cd2fba1bd38237a2efd42468e36 - 25.89% (10.9 MB)
[#004] sha256:0c322f0c735474c8cfd8da8a6332a430a91a504aa768c0e32d0b4193904115fa - 0.0% (133 Bytes)
[#005] sha256:d87a0aaae4fbb2399ac5b9dabcb99fb2735929e67cf48b12c45635063d0d61da - 0.0% (576 Bytes)
/bin/sh -c #(nop) ADD file:d08e242792caa7f842fcf39a09ad59c97a856660e2013d5aed3e4a29197e9aaa in /
2022-11-15 04:04:54 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-11-15 14:40:42 UTC/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
2022-11-15 14:40:42 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-11-15 14:40:55 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
2022-11-15 14:43:35 UTC/bin/sh -c #(nop) ENV REDIS_VERSION=5.0.14
2022-11-15 14:43:35 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-5.0.14.tar.gz
2022-11-15 14:43:35 UTC/bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32
2022-11-15 14:45:12 UTC/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-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; 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; 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
2022-11-15 14:45:13 UTC/bin/sh -c mkdir /data && chown redis:redis /data
2022-11-15 14:45:13 UTC/bin/sh -c #(nop) VOLUME [/data]
2022-11-15 14:45:13 UTC/bin/sh -c #(nop) WORKDIR /data
2022-11-15 14:45:13 UTC/bin/sh -c #(nop) COPY file:e873a0e3c13001b5e1c63f9dbe60cc65722af522671787f68b8e8cbcae7d02ac in /usr/local/bin/
2022-11-15 14:45:13 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-11-15 14:45:14 UTC/bin/sh -c #(nop) EXPOSE 6379
2022-11-15 14:45:14 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.