mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-03 23:54:00 +01:00
0f4972ad92
Bump up photon version to 4.0 Bump up redis version to 7.0 Bump up postgresql version to 13.10 Signed-off-by: Yang Jiao <jiaoya@vmware.com>
9 lines
331 B
Docker
9 lines
331 B
Docker
FROM photon:4.0
|
|
|
|
RUN tdnf install -y nginx shadow >> /dev/null \
|
|
&& tdnf clean all \
|
|
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
|
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
|
&& groupmod -g 10000 nginx && usermod -g 10000 -u 10000 -d /home/nginx -s /bin/bash nginx \
|
|
&& chown -R nginx:nginx /etc/nginx
|