harbor/make/photon/redis/Dockerfile.base
Yang Jiao 5e130bd06c
Bump up photon version from 4.0 to 5.0 (#19006)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-08-01 11:52:33 +08:00

7 lines
234 B
Docker

FROM photon:5.0
RUN tdnf install -y shadow >> /dev/null \
&& groupadd -g 999 redis \
&& useradd -u 999 -g 999 -c "Redis Database Server" -d /var/lib/redis -s /sbin/nologin -m redis
RUN tdnf install -y redis && tdnf clean all