mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
14 lines
212 B
Docker
14 lines
212 B
Docker
|
FROM library/photon:1.0
|
||
|
|
||
|
RUN tdnf install -y git bzr rpm xz \
|
||
|
&& mkdir /clair2.0.1/
|
||
|
|
||
|
COPY clair /clair2.0.1/
|
||
|
|
||
|
VOLUME /config
|
||
|
EXPOSE 6060 6061
|
||
|
|
||
|
RUN chmod u+x /clair2.0.1/clair
|
||
|
|
||
|
ENTRYPOINT ["/clair2.0.1/clair"]
|