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>
8 lines
290 B
Docker
8 lines
290 B
Docker
FROM photon:5.0
|
|
|
|
RUN tdnf install -y nginx shadow >> /dev/null \
|
|
&& tdnf clean all \
|
|
&& groupmod -g 10000 nginx && usermod -g 10000 -u 10000 -d /home/nginx -s /bin/bash nginx \
|
|
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
|
&& ln -sf /dev/stderr /var/log/nginx/error.log
|