mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-01 14:44:00 +01:00
7 lines
220 B
Docker
7 lines
220 B
Docker
|
FROM photon:2.0
|
||
|
|
||
|
RUN tdnf install -y sudo >>/dev/null\
|
||
|
&& tdnf clean all \
|
||
|
&& mkdir /clair-adapter/ \
|
||
|
&& groupadd -r -g 10000 clair-adapter \
|
||
|
&& useradd --no-log-init -m -r -g 10000 -u 10000 clair-adapter
|