add redis 7 Image

This commit is contained in:
Torsten Widmann
2022-08-01 16:06:19 +02:00
parent 246ff17dd6
commit 8141da4091
2 changed files with 27 additions and 1 deletions

20
redis/7/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# ----------------------------------
# Environment: redis
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH redis:7-bullseye
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
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"]