mirror of
https://github.com/goharbor/harbor
synced 2025-04-22 20:26:02 +00:00

Notably missing is the "log" image, which still uses sudo. Signed-off-by: Tianon Gravi <tianon@infosiftr.com>
8 lines
274 B
Docker
8 lines
274 B
Docker
FROM photon:2.0
|
|
|
|
RUN tdnf install nginx -y >> /dev/null\
|
|
&& tdnf clean all \
|
|
&& groupadd -r -g 10000 nginx && useradd --no-log-init -r -g 10000 -u 10000 nginx \
|
|
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
|
&& ln -sf /dev/stderr /var/log/nginx/error.log
|