Namespace
library
Image / Tag
redis:6-alpine3.21
Content Digest
sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae
Details
Created

2025-01-06 16:14:31 UTC

Size

11.4 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:dbaac2331104495e5df0818a1db05c402cfc13af140c75beccf51922d5f37ad5 - 28.97% (3.3 MB)

[#001] sha256:5916497fddd45987e77032a383fe354026897404d376985ee5c274516d84cffe - 0.01% (959 Bytes)

[#002] sha256:624a61ef78fab56af082013f10968ed55c5bc20ace2b8b7062f41fd777bae338 - 1.44% (168 KB)

[#003] sha256:d6e4206fa6579248e3786923de6fbb1ca2a441b4cdffb8409f5e52c1cc4c8964 - 8.19% (956 KB)

[#004] sha256:349fc950fc9793ce2f7281fb6db9fdb6b0a12d254361d955fe772faa719d4b92 - 61.39% (7 MB)

[#005] sha256:e39ebc230f43f13149608ae1ad895351fcca87bb6a69ae38ad8ca6efab852b35 - 0.0% (100 Bytes)

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

[#007] sha256:e62e270739886831583ff73c75f01afee37a18e1efdc780e5148736d614d8f80 - 0.0% (574 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-x86.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

11.8 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:1f3e46996e2966e4faa5846e56e76e3748b7315e2ded61476c24403d592134f0 - 29.33% (3.47 MB)

[#001] sha256:2a4a8619026da0268804469783f5b4303748025e4aa0f197c0a1a815c78b42f0 - 0.01% (958 Bytes)

[#002] sha256:27b38dcb2b9dc6868ad101f91888118b4b34999eb2a7f3a789089ac0742ea29f - 1.38% (168 KB)

[#003] sha256:4f8076e8e667727b07a7e97030c719f2037aed645c31c48d39e329d2384feddd - 8.08% (979 KB)

[#004] sha256:5f62c32baa5893297e3b69b940220602f63f887f35ca117a01fd594f687f7171 - 61.2% (7.25 MB)

[#005] sha256:ea2c9629163b1567d9046a3b55e9262b8cf5844531b66112c723cae6cb3d780b - 0.0% (100 Bytes)

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

[#007] sha256:7b09df54997d686d2dfc74c28b8900eb53408879014afa1fde86fa0d36da3bfe - 0.0% (575 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

11.6 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:d3e229a4bb72770bd404e0f6590519a8e566146523e984834c6a3d82836f0069 - 27.7% (3.21 MB)

[#001] sha256:3ff53ab9baa18bb4d1ad66011cc8ba63a94c5516abf6c210729d5924f3a4f1f5 - 0.01% (958 Bytes)

[#002] sha256:608fb9e021fd7a0b8306ccb5d4c9fe2a7d7cc32bbf627127531cca0f9947f765 - 1.41% (168 KB)

[#003] sha256:6f004c2c3b14cd869dc3182e39a7dd95828c3c721a7f442d6f447a03bed3ea09 - 8.0% (948 KB)

[#004] sha256:944501f8d73b92dd77f1ef5a863d8c8b90352e3462181041b383e2ae6843ca3a - 62.87% (7.28 MB)

[#005] sha256:93041a1a220d13bc09161867d9c5ed18a7b8ffd33cbbed6bede0ca833b58cd2e - 0.0% (101 Bytes)

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

[#007] sha256:b139ab476f089b3df684e821c7f0c19d3fcc90f081b09479488330411190126b - 0.0% (576 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-armhf.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

11.2 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:824bc99f06f2c6bebc1172ff7e39d7a1cdbd077ec44632079a629f69e9db7abf - 26.34% (2.95 MB)

[#001] sha256:c0a0460fffee88d30c6e41724858dc5384de92ba011548b97bb7a1d6d3e8fb00 - 0.01% (959 Bytes)

[#002] sha256:1e56c1a9b127178dd4cb930e92101899bf761da36a8f76d37516ad09f4b1b103 - 1.46% (168 KB)

[#003] sha256:aa56c5140a65cd66e1e57395abc5a4ff440e3bbbeb38efb3a563d76714d674aa - 8.26% (948 KB)

[#004] sha256:57d477fb6ae486a8b2258fb30b79913cef498809a257ec4f21ce2a83cf703a54 - 63.92% (7.17 MB)

[#005] sha256:984a828b84460df903a6086f10c96a44168cf4de429d1bda3824fc8424ac3c2b - 0.0% (100 Bytes)

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

[#007] sha256:28f7041e771114701ff54f45b96c8e6cc7175d5f7205df0f375e71ada5d0528e - 0.0% (571 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-armv7.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

12.2 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:52f827f723504aa3325bb5a54247f0dc4b92bb72569525bc951532c4ef679bd4 - 31.3% (3.81 MB)

[#001] sha256:b3eda723fc9bbc2ed3a2aff1b1d69056c29ad15e04882245f77dfa35e4230bee - 0.01% (962 Bytes)

[#002] sha256:572a44f2e990b6fddc91602380ad6ee1966451f980a0fbafd330c57255dd82d8 - 1.35% (168 KB)

[#003] sha256:d7b5fcaf70e1fa7381783e23ff25e1ed91613b2be397349bad6eb8a0ec9020b6 - 7.33% (913 KB)

[#004] sha256:464ce3c36b3a6aaa6202e238f41dba5b4d9254c3bdd900e66579a97da8642bf3 - 60.02% (7.3 MB)

[#005] sha256:87ebcedab898953cce5094b297ec2cdfc128445a4c7c0a9c53f0ef2a4ba751db - 0.0% (101 Bytes)

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

[#007] sha256:f2a15c2ba8fadc89c9c5ceda102ce5d8b28d74086cdd934f72d1be288fa73e71 - 0.0% (571 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-aarch64.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

12.3 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:244ac55e5ecd413dee99efe3ace7cb84420bfc9a727ec2327dae7805045d7470 - 27.79% (3.41 MB)

[#001] sha256:1af5ba8814f34e6a0d618744fd7087a19ce41b60c3fb8542a3e6b510d21c355e - 0.01% (956 Bytes)

[#002] sha256:f68fa155140df0012bb517145f72a076af593ed160b8851488698d3f004035a5 - 1.34% (168 KB)

[#003] sha256:19fd71b0c63d4c20e8d4b16a7453326549c8e9ccd6070554fd6be01a802c7bc1 - 7.18% (901 KB)

[#004] sha256:2fd3ea408328b5db8f3c03c2b470871883af96966a09a664a84328b532b8515c - 63.69% (7.81 MB)

[#005] sha256:65df9f6e1085f0efef37f2cc3bd1381c9941429ba4678235bfb94fe8f508afbf - 0.0% (100 Bytes)

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

[#007] sha256:34aec3335b6d943b0989d72739e4f66b9b64acbd63ae4cc24065c02178a60e74 - 0.0% (574 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-ppc64le.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

11.3 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:21a89fc8a7107842fa0935d999d700ca9a9df964110a7076d946b16f07a54de5 - 28.22% (3.2 MB)

[#001] sha256:aff867c0dbeff1fef06f836196342ca3e8606b395317c6c53757713211f00196 - 0.01% (962 Bytes)

[#002] sha256:4db024b937d6abed6abc299d016ad4f9ff785be5a92c87887d097530b869ae78 - 1.45% (168 KB)

[#003] sha256:b5d1ada5c52c3a7cc6660fb7b47855c1d1106862c7be8dbde294500b553a72bc - 8.21% (952 KB)

[#004] sha256:76817f8f0c49591d599303d446ecdc57dc0d2e2ec9d2bc4667be4fe2889c0fef - 62.1% (7.03 MB)

[#005] sha256:ccdf59b2916e83c7a6c9809a12bc667085820312b2d261ec7dd1eb5a7a588a1d - 0.0% (99 Bytes)

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

[#007] sha256:05cb13d665a1effa99d5b4b62639c2284f4646cf483eea9e3f60b6f15cfa6661 - 0.0% (578 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-riscv64.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["redis-server"]

Details
Created

2025-01-06 16:14:31 UTC

Size

12 MB

Content Digest
Environment
GOSU_VERSION

1.17

PATH

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

REDIS_DOWNLOAD_SHA

f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

REDIS_DOWNLOAD_URL

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

REDIS_VERSION

6.2.17


Layers

[#000] sha256:b2af93686f9384c40cfe861d7173877bb2ee1675c3ee70181799693c34c8722f - 27.55% (3.31 MB)

[#001] sha256:368ae800cb699efacb7d029cf9dc1ba045020a06fb570d3771c2f141016ac48e - 0.01% (960 Bytes)

[#002] sha256:653518c4f8851ba76117b5d5a64ede302eaa62b143b0fd1f090ab12e75cadc67 - 1.36% (168 KB)

[#003] sha256:deaac5e1152fd871935fc6b024ab9e8b806d58e2f03e3b90d08a97f876566e9d - 7.71% (947 KB)

[#004] sha256:954e5dcefd5e05cf90e814c49e437d958f48d8ba2134bce25b37464310fbdf60 - 63.37% (7.61 MB)

[#005] sha256:cdbcea87a766379f934d6d599e9c014c90865750fa76e1a31c6acbf5ed6d3cd7 - 0.0% (101 Bytes)

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

[#007] sha256:71822084c985cc67265529318e007221cc3390f5d38883c623eef9e426075107 - 0.0% (571 Bytes)


History
2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.2-s390x.tar.gz / # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_VERSION=6.2.17

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version # buildkit

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

WORKDIR /data

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

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

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-06 16:14:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[6379/tcp:{}]

2025-01-06 16:14:31 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