add redis 7 Image

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

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# ----------------------------------
# Environment: redis
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH redis:7-bullseye
LABEL author="Michael Parker" maintainer="[email protected]"
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"]