mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
5e130bd06c
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
7 lines
234 B
Docker
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
|