redis (sha256:6e628df1eb8b32f8bced77d65e798d4a1b42cf0a3b30ba0e31eb37411187ca83)

Published 2026-08-21 00:02:36 +00:00 by rasmuskr

Installation

docker pull code.rakr.dk/mirror/redis@sha256:6e628df1eb8b32f8bced77d65e798d4a1b42cf0a3b30ba0e31eb37411187ca83
sha256:6e628df1eb8b32f8bced77d65e798d4a1b42cf0a3b30ba0e31eb37411187ca83

Image layers

ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit
RUN /bin/sh -c set -eux; apk add --no-cache tzdata setpriv ; # buildkit
ENV REDIS_VERSION=8.10.1
ARG REDIS_DOWNLOAD_URL=https://github.com/redis/redis/releases/download/8.10.1/redis-full.tar.gz
ARG REDIS_DOWNLOAD_SHA=e5cae2686231290bf55ae5cc4da01e646c3424233cae7618ebf3a64250ef1583
RUN |2 REDIS_DOWNLOAD_URL=https://github.com/redis/redis/releases/download/8.10.1/redis-full.tar.gz REDIS_DOWNLOAD_SHA=e5cae2686231290bf55ae5cc4da01e646c3424233cae7618ebf3a64250ef1583 /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev g++; arch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; case "$arch" in 'amd64' | 'arm64') BUILD_WITH_MODULES=yes ;; *) echo >&2 "Modules are NOT supported! unsupported architecture: '$arch'"; BUILD_WITH_MODULES=no ;; esac; if [ "$BUILD_WITH_MODULES" = "yes" ]; then apk add --no-cache --virtual .module-build-deps autoconf automake bash bsd-compat-headers build-base cargo clang21 clang21-static clang21-libclang cmake curl g++ git libffi-dev libgcc libtool llvm21-dev lld21 ncurses-dev openssh openssl py-virtualenv py3-cryptography py3-pip py3-virtualenv python3 python3-dev rsync tar unzip which xsimd xz; fi; pip install -q --upgrade setuptools && pip install -q --upgrade pip && PIP_BREAK_SYSTEM_PACKAGES=1 pip install -q addict toml jinja2 ramp-packer ; 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 RUST_DYN_CRT=1; export PATH="/usr/lib/llvm21/bin:$PATH"; export BUILD_TLS=yes; if [ "$BUILD_WITH_MODULES" = "yes" ]; then export LTO=1; make -C /usr/src/redis/modules install-rust INSTALL_RUST_TOOLCHAIN=yes; make -C /usr/src/redis -j "$(nproc)" deploy; make -C /usr/src/redis/modules uninstall-rust INSTALL_RUST_TOOLCHAIN=yes; else make -C /usr/src/redis -j "$(nproc)" deploy redis; fi; 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; if [ "$BUILD_WITH_MODULES" = "yes" ]; then apk del --no-network .module-build-deps; fi; apk del --no-network .build-deps; rm -rf ~/.cache ~/.gitconfig; redis-cli --version; redis-server --version; # buildkit
RUN |2 REDIS_DOWNLOAD_URL=https://github.com/redis/redis/releases/download/8.10.1/redis-full.tar.gz REDIS_DOWNLOAD_SHA=e5cae2686231290bf55ae5cc4da01e646c3424233cae7618ebf3a64250ef1583 /bin/sh -c mkdir /data && chown redis:redis /data # buildkit
WORKDIR /data
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE map[6379/tcp:{}]
CMD ["redis-server"]
Details
Container
2026-08-21 00:02:36 +00:00
0
OCI / Docker
linux/arm64/v8
37 MiB
Versions (1) View all
alpine 2026-08-21