Add: Redis 8
This commit is contained in:
1
.github/workflows/redis.yml
vendored
1
.github/workflows/redis.yml
vendored
@@ -23,6 +23,7 @@ jobs:
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
|
18
redis/8/Dockerfile
Normal file
18
redis/8/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user