Add: Redis 8

This commit is contained in:
Quinten
2025-07-10 12:58:11 +02:00
committed by GitHub
parent bf811f503c
commit 4defcf5e05
2 changed files with 19 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- 5 - 5
- 6 - 6
- 7 - 7
- 8
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3

18
redis/8/Dockerfile Normal file
View File

@@ -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"]