harbor/make/photon/clair/Dockerfile

17 lines
291 B
Docker
Raw Normal View History

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