harbor/make/photon/clair/Dockerfile
yixingj d8919f4da9 Update Clair base images
1>update clair base iamges to vmware/photon:1.0
2>update oss packages to latest
2017-10-30 13:50:44 +08:00

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"]