mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 10:45:45 +01:00
7 lines
201 B
Docker
7 lines
201 B
Docker
|
FROM photon:2.0
|
||
|
|
||
|
RUN tdnf install sudo -y >> /dev/null \
|
||
|
&& tdnf clean all \
|
||
|
&& groupadd -r -g 10000 harbor && useradd --no-log-init -m -g 10000 -u 10000 harbor \
|
||
|
&& mkdir -p /etc/registry
|