From b628649ceee29da4c28c889417f264c219ca2afb Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Fri, 17 May 2024 14:55:46 -0700 Subject: [PATCH] Remove 6.0 since it is end of life https://github.com/redis/redis/security/policy --- 6.0/alpine/Dockerfile | 143 ------------------------------ 6.0/alpine/docker-entrypoint.sh | 24 ----- 6.0/debian/Dockerfile | 152 -------------------------------- 6.0/debian/docker-entrypoint.sh | 24 ----- 6.2/alpine/Dockerfile | 2 +- 7.0/alpine/Dockerfile | 2 +- 7.2/alpine/Dockerfile | 2 +- Dockerfile.template | 2 +- versions.json | 56 ------------ 9 files changed, 4 insertions(+), 403 deletions(-) delete mode 100644 6.0/alpine/Dockerfile delete mode 100755 6.0/alpine/docker-entrypoint.sh delete mode 100644 6.0/debian/Dockerfile delete mode 100755 6.0/debian/docker-entrypoint.sh diff --git a/6.0/alpine/Dockerfile b/6.0/alpine/Dockerfile deleted file mode 100644 index a90943cb..00000000 --- a/6.0/alpine/Dockerfile +++ /dev/null @@ -1,143 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.19 - -# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added -RUN set -eux; \ -# alpine already has a gid 999, so we'll use the next id - addgroup -S -g 1000 redis; \ - adduser -S -G redis -u 999 redis - -# runtime dependencies -RUN set -eux; \ - apk add --no-cache \ -# add tzdata for https://github.com/docker-library/redis/issues/138 - tzdata \ - ; - -# grab gosu for easy step-down from root -# https://github.com/tianon/gosu/releases -ENV GOSU_VERSION 1.17 -RUN 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 - -ENV REDIS_VERSION 6.0.20 -ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-6.0.20.tar.gz -ENV REDIS_DOWNLOAD_SHA 173d4c5f44b5d7186da96c4adc5cb20e8018b50ec3a8dfe0d191dbbab53952f0 - -RUN set -eux; \ - \ - apk add --no-cache --virtual .build-deps \ - coreutils \ - dpkg-dev dpkg \ - gcc \ - linux-headers \ - make \ - musl-dev \ - openssl-dev \ -# install real "wget" to avoid: -# + wget -O redis.tar.gz https://download.redis.io/releases/redis-6.0.6.tar.gz -# Connecting to download.redis.io (45.60.121.1:80) -# wget: bad header line: XxhODalH: btu; path=/; Max-Age=900 - 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; \ - \ -# disable Redis protected mode [1] as it is unnecessary in context of Docker -# (ports are not automatically exposed when running inside Docker, but rather explicitly by specifying -p / -P) -# [1]: https://github.com/redis/redis/commit/edd4d555df57dc84265fdfb4ef59a4678832f6da - 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; \ -# for future reference, we modify this directly in the source instead of just supplying a default configuration flag because apparently "if you specify any argument to redis-server, [it assumes] you are going to specify everything" -# see also https://github.com/docker-library/redis/issues/4#issuecomment-50780840 -# (more exactly, this makes sure the default behavior of "save on SIGTERM" stays functional by default) - \ -# https://github.com/jemalloc/jemalloc/issues/467 -- we need to patch the "./configure" for the bundled jemalloc to match how Debian compiles, for compatibility -# (also, we do cross-builds, so we need to embed the appropriate "--build=xxx" values to that "./configure" invocation) - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - extraJemallocConfigureFlags="--build=$gnuArch"; \ -# https://salsa.debian.org/debian/jemalloc/-/blob/c0a88c37a551be7d12e4863435365c9a6a51525f/debian/rules#L8-23 - 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; \ - \ -# TODO https://github.com/redis/redis/pull/3494 (deduplicate "redis-server" copies) - 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; \ - \ - echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"redis-server-sbom","packages":[{"name":"redis-server","versionInfo":"6.0.20","SPDXID":"SPDXRef-Package--redis-server","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/redis-server@6.0.20?os_name=alpine&os_version=3.19"}],"licenseDeclared":"BSD-3-Clause"}]}' > /usr/local/redis.spdx.json - -RUN mkdir /data && chown redis:redis /data -VOLUME /data -WORKDIR /data - -COPY docker-entrypoint.sh /usr/local/bin/ -ENTRYPOINT ["docker-entrypoint.sh"] - -EXPOSE 6379 -CMD ["redis-server"] diff --git a/6.0/alpine/docker-entrypoint.sh b/6.0/alpine/docker-entrypoint.sh deleted file mode 100755 index 30406a51..00000000 --- a/6.0/alpine/docker-entrypoint.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -set -e - -# first arg is `-f` or `--some-option` -# or first arg is `something.conf` -if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then - set -- redis-server "$@" -fi - -# allow the container to be started with `--user` -if [ "$1" = 'redis-server' -a "$(id -u)" = '0' ]; then - find . \! -user redis -exec chown redis '{}' + - exec gosu redis "$0" "$@" -fi - -# set an appropriate umask (if one isn't set already) -# - https://github.com/docker-library/redis/issues/305 -# - https://github.com/redis/redis/blob/bb875603fb7ff3f9d19aad906bd45d7db98d9a39/utils/systemd-redis_server.service#L37 -um="$(umask)" -if [ "$um" = '0022' ]; then - umask 0077 -fi - -exec "$@" diff --git a/6.0/debian/Dockerfile b/6.0/debian/Dockerfile deleted file mode 100644 index d9aaf3c1..00000000 --- a/6.0/debian/Dockerfile +++ /dev/null @@ -1,152 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:bookworm-slim - -# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added -RUN set -eux; \ - groupadd -r -g 999 redis; \ - useradd -r -g redis -u 999 redis - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ -# add tzdata explicitly for https://github.com/docker-library/redis/issues/138 (see also https://bugs.debian.org/837060 and related) - tzdata \ - ; \ - rm -rf /var/lib/apt/lists/* - -# grab gosu for easy step-down from root -# https://github.com/tianon/gosu/releases -ENV GOSU_VERSION 1.17 -RUN 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/*; \ - arch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; \ - case "$arch" in \ - 'amd64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; \ - 'arm64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; \ - 'armel') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armel'; sha256='f9969910fa141140438c998cfa02f603bf213b11afd466dcde8fa940e700945d' ;; \ - 'i386') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; \ - 'mips64el') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-mips64el'; sha256='87140029d792595e660be0015341dfa1c02d1181459ae40df9f093e471d75b70' ;; \ - 'ppc64el') 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' ;; \ - 'armhf') 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; \ - 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 - -ENV REDIS_VERSION 6.0.20 -ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-6.0.20.tar.gz -ENV REDIS_DOWNLOAD_SHA 173d4c5f44b5d7186da96c4adc5cb20e8018b50ec3a8dfe0d191dbbab53952f0 - -RUN 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; \ - \ -# disable Redis protected mode [1] as it is unnecessary in context of Docker -# (ports are not automatically exposed when running inside Docker, but rather explicitly by specifying -p / -P) -# [1]: https://github.com/redis/redis/commit/edd4d555df57dc84265fdfb4ef59a4678832f6da - 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; \ -# for future reference, we modify this directly in the source instead of just supplying a default configuration flag because apparently "if you specify any argument to redis-server, [it assumes] you are going to specify everything" -# see also https://github.com/docker-library/redis/issues/4#issuecomment-50780840 -# (more exactly, this makes sure the default behavior of "save on SIGTERM" stays functional by default) - \ -# https://github.com/jemalloc/jemalloc/issues/467 -- we need to patch the "./configure" for the bundled jemalloc to match how Debian compiles, for compatibility -# (also, we do cross-builds, so we need to embed the appropriate "--build=xxx" values to that "./configure" invocation) - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - extraJemallocConfigureFlags="--build=$gnuArch"; \ -# https://salsa.debian.org/debian/jemalloc/-/blob/c0a88c37a551be7d12e4863435365c9a6a51525f/debian/rules#L8-23 - 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; \ - \ -# TODO https://github.com/redis/redis/pull/3494 (deduplicate "redis-server" copies) - 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); printf "*%s\n", 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; \ - \ - echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"redis-server-sbom","packages":[{"name":"redis-server","versionInfo":"6.0.20","SPDXID":"SPDXRef-Package--redis-server","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/redis-server@6.0.20?os_name=debian&os_version=bookworm"}],"licenseDeclared":"BSD-3-Clause"}]}' > /usr/local/redis.spdx.json - -RUN mkdir /data && chown redis:redis /data -VOLUME /data -WORKDIR /data - -COPY docker-entrypoint.sh /usr/local/bin/ -ENTRYPOINT ["docker-entrypoint.sh"] - -EXPOSE 6379 -CMD ["redis-server"] diff --git a/6.0/debian/docker-entrypoint.sh b/6.0/debian/docker-entrypoint.sh deleted file mode 100755 index 30406a51..00000000 --- a/6.0/debian/docker-entrypoint.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -set -e - -# first arg is `-f` or `--some-option` -# or first arg is `something.conf` -if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then - set -- redis-server "$@" -fi - -# allow the container to be started with `--user` -if [ "$1" = 'redis-server' -a "$(id -u)" = '0' ]; then - find . \! -user redis -exec chown redis '{}' + - exec gosu redis "$0" "$@" -fi - -# set an appropriate umask (if one isn't set already) -# - https://github.com/docker-library/redis/issues/305 -# - https://github.com/redis/redis/blob/bb875603fb7ff3f9d19aad906bd45d7db98d9a39/utils/systemd-redis_server.service#L37 -um="$(umask)" -if [ "$um" = '0022' ]; then - umask 0077 -fi - -exec "$@" diff --git a/6.2/alpine/Dockerfile b/6.2/alpine/Dockerfile index 5714f258..c1f95f5c 100644 --- a/6.2/alpine/Dockerfile +++ b/6.2/alpine/Dockerfile @@ -64,7 +64,7 @@ RUN set -eux; \ musl-dev \ openssl-dev \ # install real "wget" to avoid: -# + wget -O redis.tar.gz https://download.redis.io/releases/redis-6.0.6.tar.gz +# + wget -O redis.tar.gz https://download.redis.io/releases/redis-x.y.z.tar.gz # Connecting to download.redis.io (45.60.121.1:80) # wget: bad header line: XxhODalH: btu; path=/; Max-Age=900 wget \ diff --git a/7.0/alpine/Dockerfile b/7.0/alpine/Dockerfile index 5792c13b..fba62ac9 100644 --- a/7.0/alpine/Dockerfile +++ b/7.0/alpine/Dockerfile @@ -64,7 +64,7 @@ RUN set -eux; \ musl-dev \ openssl-dev \ # install real "wget" to avoid: -# + wget -O redis.tar.gz https://download.redis.io/releases/redis-6.0.6.tar.gz +# + wget -O redis.tar.gz https://download.redis.io/releases/redis-x.y.z.tar.gz # Connecting to download.redis.io (45.60.121.1:80) # wget: bad header line: XxhODalH: btu; path=/; Max-Age=900 wget \ diff --git a/7.2/alpine/Dockerfile b/7.2/alpine/Dockerfile index 3f22c344..e9a164ff 100644 --- a/7.2/alpine/Dockerfile +++ b/7.2/alpine/Dockerfile @@ -64,7 +64,7 @@ RUN set -eux; \ musl-dev \ openssl-dev \ # install real "wget" to avoid: -# + wget -O redis.tar.gz https://download.redis.io/releases/redis-6.0.6.tar.gz +# + wget -O redis.tar.gz https://download.redis.io/releases/redis-x.y.z.tar.gz # Connecting to download.redis.io (45.60.121.1:80) # wget: bad header line: XxhODalH: btu; path=/; Max-Age=900 wget \ diff --git a/Dockerfile.template b/Dockerfile.template index e78798a1..8cf3ad3f 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -132,7 +132,7 @@ RUN set -eux; \ musl-dev \ openssl-dev \ # install real "wget" to avoid: -# + wget -O redis.tar.gz https://download.redis.io/releases/redis-6.0.6.tar.gz +# + wget -O redis.tar.gz https://download.redis.io/releases/redis-x.y.z.tar.gz # Connecting to download.redis.io (45.60.121.1:80) # wget: bad header line: XxhODalH: btu; path=/; Max-Age=900 wget \ diff --git a/versions.json b/versions.json index 2bae407d..259512e6 100644 --- a/versions.json +++ b/versions.json @@ -1,60 +1,4 @@ { - "6.0": { - "version": "6.0.20", - "url": "http://download.redis.io/releases/redis-6.0.20.tar.gz", - "sha256": "173d4c5f44b5d7186da96c4adc5cb20e8018b50ec3a8dfe0d191dbbab53952f0", - "debian": { - "version": "bookworm" - }, - "alpine": { - "version": "3.19" - }, - "gosu": { - "version": "1.17", - "arches": { - "amd64": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64", - "sha256": "bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3" - }, - "arm64v8": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64", - "sha256": "c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b" - }, - "arm32v5": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-armel", - "sha256": "f9969910fa141140438c998cfa02f603bf213b11afd466dcde8fa940e700945d" - }, - "arm32v6": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf", - "sha256": "e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b" - }, - "i386": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-i386", - "sha256": "087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca" - }, - "mips64le": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-mips64el", - "sha256": "87140029d792595e660be0015341dfa1c02d1181459ae40df9f093e471d75b70" - }, - "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" - }, - "arm32v7": { - "url": "https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf", - "sha256": "e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b" - } - } - } - }, "6.2": { "version": "6.2.14", "url": "http://download.redis.io/releases/redis-6.2.14.tar.gz",