mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 17:47:46 +01:00
47793e77e3
Signed-off-by: wang yan <wangyan@vmware.com>
8 lines
320 B
Docker
8 lines
320 B
Docker
FROM photon:2.0
|
|
|
|
RUN tdnf install -y nginx sudo >> /dev/null \
|
|
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
|
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
|
&& groupadd -r -g 10000 nginx && useradd --no-log-init -r -g 10000 -u 10000 nginx \
|
|
&& chown -R nginx:nginx /etc/nginx \
|
|
&& tdnf clean all |