From 4defcf5e05968dca1267d9c9bbee0fa44f38e9bf Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Thu, 10 Jul 2025 12:58:11 +0200 Subject: [PATCH] Add: Redis 8 --- .github/workflows/redis.yml | 1 + redis/8/Dockerfile | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 redis/8/Dockerfile diff --git a/.github/workflows/redis.yml b/.github/workflows/redis.yml index 7c1a8eb..6647d71 100644 --- a/.github/workflows/redis.yml +++ b/.github/workflows/redis.yml @@ -23,6 +23,7 @@ jobs: - 5 - 6 - 7 + - 8 steps: - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v3 diff --git a/redis/8/Dockerfile b/redis/8/Dockerfile new file mode 100644 index 0000000..a9b7d72 --- /dev/null +++ b/redis/8/Dockerfile @@ -0,0 +1,18 @@ +# ---------------------------------- +# Environment: redis +# ---------------------------------- +FROM --platform=$TARGETOS/$TARGETARCH redis:8-bookworm + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt -y update && \ + apt -y upgrade && \ + apt -y install iproute2 && \ + useradd -d /home/container -m container -s /bin/bash + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY ./entrypoint.sh /entrypoint.sh +CMD ["/bin/bash", "/entrypoint.sh"] \ No newline at end of file