From d8919f4da9d1f7bcd4c92f0eb81a6bf3c8a82d03 Mon Sep 17 00:00:00 2001 From: yixingj Date: Mon, 30 Oct 2017 13:50:44 +0800 Subject: [PATCH] Update Clair base images 1>update clair base iamges to vmware/photon:1.0 2>update oss packages to latest --- make/photon/clair/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make/photon/clair/Dockerfile b/make/photon/clair/Dockerfile index 90bd10608..9f5d1185f 100644 --- a/make/photon/clair/Dockerfile +++ b/make/photon/clair/Dockerfile @@ -1,6 +1,9 @@ -FROM library/photon:1.0 +FROM vmware/photon:1.0 -RUN tdnf install -y git bzr rpm xz \ +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/