mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
d8919f4da9
1>update clair base iamges to vmware/photon:1.0 2>update oss packages to latest
17 lines
291 B
Docker
17 lines
291 B
Docker
FROM vmware/photon:1.0
|
|
|
|
RUN tdnf distro-sync -y \
|
|
&& tdnf erase vim -y \
|
|
&& tdnf install -y git bzr rpm xz \
|
|
&& tdnf clean all \
|
|
&& 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"]
|