Namespace
library
Image / Tag
redis:7.0.13-bookworm
Content Digest
sha256:a5ea76e695ff2579ecc7aa231df0589bc2eaa6ef6f03d68db7e423a2b48c4b74
Details
Created

2023-09-06 21:03:16 UTC

Size

46 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:b27d0f1369837277a82877763487cdd2535037988fc27e16f11cf74e103ae4cd - 62.51% (28.8 MB)

[#001] sha256:3e2d393c5be82d0d6889e5eebe4a7b23d937bdba3f328fd5347126200b216586 - 0.0% (1.08 KB)

[#002] sha256:c2691df9dcb8e474afe2d552fd17a43f6f726f0737927fa3edcd244a54719999 - 2.94% (1.35 MB)

[#003] sha256:29fa4b1e02b26d90ec399f59524490e34cd685ac5157a7ad6b810f3d798c6f0e - 34.55% (15.9 MB)

[#004] sha256:d9c87f8ccddbdc5df4e534150ede8d43051bfb1247cb1fcd7f9031f1648e2c65 - 0.0% (96 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:09c2d62df36042baac6f55d47596c117285fbe09924fdb36bf2d68a92a01c32f - 0.0% (571 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:31318c1b1f05d559cce42f5b12eef97d916932217e0b987fb07c0fc11bf0a14a in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

45.9 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:a378f10b321842c3042cdeff4f6997f34f4cb21f2eff27704b7f6193ab7b5fea - 60.52% (27.8 MB)

[#001] sha256:1692ede27ff43ebbec7f30024540863b578bbe922572889897c7d61a0e8189ff - 0.0% (1.08 KB)

[#002] sha256:086dbb1beab5acf8a5e4217b384952b07e6114c30e63c7ed9c1672c6899f9381 - 2.99% (1.37 MB)

[#003] sha256:7c46c2447fd7f3dc08daaee8a3f1ccd2680d9528391430de6beebcd248d49925 - 36.48% (16.8 MB)

[#004] sha256:88e07738ded1ded5d70581e097ad91768d231400216fae8d5a78500a917b972f - 0.0% (95 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:1fd6ec2bc98a7d4384c3647cfd6fede669bac92eaef3b1b6e9fb812351d51e99 - 0.0% (573 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:55ad846fa191e603f48090eae0e4a7149c4066b94406593ec1898ad2c3347937 in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

42.2 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:904e6393ef1ee28b37171369eb4f7cb04714631c711799819fccb83886bd212b - 60.89% (25.7 MB)

[#001] sha256:9ce2054d07ed58033f19085bd13f4611a7c16da409796785d4cc36439d07b952 - 0.0% (1.08 KB)

[#002] sha256:601aa7f481958ba6c2619971775bf28dbdd0fe90efc8bdeaedf245ea299b0c5c - 3.21% (1.35 MB)

[#003] sha256:4e27ec8b7af5fb39f6b6b5fb3bf23656b651542c20ea95cfc4c8b4a003bed295 - 35.9% (15.1 MB)

[#004] sha256:6a0135898e95d6ca51b4de5f5a2f1c94fa0fa4478450a3353f743c89447fc5f4 - 0.0% (95 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:89e1dc5f4fb409859bd791a513093b05150ffa49d3dc471a5946970ac7899567 - 0.0% (574 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:8c43adb3245fc6f2b10aa5a86c850db5dcf3515eaf7e46630922fe21f806bd2a in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

39.6 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:2f11c34abc7b59f09b58bb6e2cf54f260f4b4142ecf8023a114e281ea4b532d1 - 59.66% (23.6 MB)

[#001] sha256:670e91b1de7bdea8ad830648230fc9cce53bfd34e1e562991ee97c58a782198e - 0.0% (1.08 KB)

[#002] sha256:9f848b34a64d32c9c571e7d7478d9adc5c1d15af6d3f5df2e4da6f4dcd91a4b3 - 3.4% (1.34 MB)

[#003] sha256:30ef60e5fa0d37316a6922acab307468255e59b304e2df489c90a2ac004ac19a - 36.94% (14.6 MB)

[#004] sha256:b12a7b3fbf139e2615e6e93540496c2a96dae28891123dc09cff472e78875b3f - 0.0% (96 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:eff95a06d017c4da389da1c2f31624257dbd271040279412ea8ee09901c6ba21 - 0.0% (574 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:da08fed31a161a2210fd920a1b5e43aa3f4199985cdeaa0d5d24c0a0f19044aa in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

44.9 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:1bc163a14ea6a886d1d0f9a9be878b1ffd08a9311e15861137ccd85bb87190f9 - 61.98% (27.8 MB)

[#001] sha256:dc70419cf2a347b5ebf78157ad472716792a147dd21971182ace25710f41cd7f - 0.0% (1.08 KB)

[#002] sha256:7288668abaf49af93254bc6f207b71ea884315c295a0ba0db8f46636526a199f - 2.92% (1.31 MB)

[#003] sha256:4e1b6993c677796474aac5a05351656037f3c221d54486d06ad3bc17edaac6bd - 35.1% (15.8 MB)

[#004] sha256:eb3870ad53341a6dbfb55f0db1e575608ac83a8b43824b88f1169905a716cad3 - 0.0% (97 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:25bd750bec1229ca407e5f90962abdfb1feb8c336d2ad52a74f066f4f282d07f - 0.0% (574 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:5c81bfc00a28feb4079c0daa743f829a6a5bbc1a9d40a890cb49e420539a7f15 in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

45 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:f11870ec99d788b4b160d9f3f4c0a79904290083d8930b26e5d13579226e07f0 - 61.75% (27.8 MB)

[#001] sha256:fbef53a2ae54aa6da8baffc9a4c14871e6dacb2590f7980ee553e2f54700a3e9 - 0.0% (1.08 KB)

[#002] sha256:260b6381008909814f5663e7a0db3e0d4bfa346c861012259cf0beb100b43e22 - 2.81% (1.27 MB)

[#003] sha256:960f288a826618fe8dd2a235a79a1f58418b4ec4d50a718b12ceeb26ffd6e9db - 35.43% (15.9 MB)

[#004] sha256:9ddb7950fb6fd1daf1f69107437599c84a20398783207d1cf87b3779363e4fe8 - 0.0% (97 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:e92098802bb24e251fd2075d6e005000f078ec3eede1c5e2f1fd6720f5247d33 - 0.0% (573 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:2abda0a72972a417d4f7f530ca8fa1ee7e85e25d4015fd4e70acf903cfd96d3d in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

50.4 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:54813908ce8a5d8a81f2db88ad0366eb5266484c7c402e5e93ef26e764f7a0e2 - 62.73% (31.6 MB)

[#001] sha256:b53d7e0e4fb7b2a61ea74da3b57dc72a6cbacfa4d18a70798a92d49852954388 - 0.0% (1.08 KB)

[#002] sha256:ba7600c41a0214228558bfb83d937f602db349f891beaffe6127fa0f1f309b5a - 2.58% (1.3 MB)

[#003] sha256:8d589ca0342440a16bba634b05af627b399dde2a33d5bc336f62cc79396eb8df - 34.69% (17.5 MB)

[#004] sha256:976ce9554d4653787e58cc23975d80fdbb634a4e56f13dfcd5e71529b5ba384d - 0.0% (96 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:ac824576e0e1fc7ec8981aadff417ba9b2c2dd068eeac887f1f2db6618311c79 - 0.0% (573 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:53c83bdd58e7c4003ae769596cc2f8e6b72c0bbb854dbe7f006a39f273848b1b in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2023-09-06 21:03:16 UTC

Size

43.2 MB

Content Digest
Environment
GOSU_VERSION

1.16

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

REDIS_DOWNLOAD_SHA

97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

REDIS_DOWNLOAD_URL

http://download.redis.io/releases/redis-7.0.13.tar.gz

REDIS_VERSION

7.0.13


Layers

[#000] sha256:f270c1bb05fa46b165ce3680225dc9fa5bbfe4d69420a467350e80f692c78eb2 - 60.72% (26.2 MB)

[#001] sha256:16a6007893eec25fc0b7795cefc58c06a26d02091134d70e3c6b1bea3f6adff5 - 0.0% (1.08 KB)

[#002] sha256:6a20a9f48db40a849f1a36b1abae265ff6ba0a594ea86fd81d8e658c8f06b130 - 3.1% (1.34 MB)

[#003] sha256:0bb04ec184e6de9e64907efb82fe6944d6ce233acb7f27f522442626a39b6f74 - 36.17% (15.6 MB)

[#004] sha256:461a352b46a1bb73fa889acb5d452fb2306d242135a94a33f7e48c1fc44ed23c - 0.0% (96 Bytes)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:fa12e71ebee8c699a5f0c817c47d5e2209bf5962788a11c2a629e9c073b1ff3c - 0.0% (574 Bytes)


History
2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) ADD file:b85ed0ed01200dd3626d66cf5205d989fc48e61b3dd3498f777ee72d91e64870 in /

2023-09-06 21:03:16 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=7.0.13

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.13.tar.gz

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=97065774d5fb8388eb0d8913458decfcb167d356e40d31dd01cd30c1cc391673

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /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 libssl-dev 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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 # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2023-09-06 21:03:16 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Danger Zone
Delete Tag

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.

Delete