From c4024f03a133ddef3843594893a586e18452cd76 Mon Sep 17 00:00:00 2001 From: yixingj Date: Mon, 30 Oct 2017 10:56:18 +0800 Subject: [PATCH] Update UI image oss package to latest Update base image to photon Remove vim from the image --- make/photon/ui/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/make/photon/ui/Dockerfile b/make/photon/ui/Dockerfile index 6b1e067c1..3d0050336 100644 --- a/make/photon/ui/Dockerfile +++ b/make/photon/ui/Dockerfile @@ -1,7 +1,9 @@ -FROM library/photon:1.0 - -RUN mkdir /harbor/ +FROM vmware/photon:1.0 +RUN tdnf distro-sync -y \ + && tdnf erase vim -y \ + && tdnf clean all \ + && mkdir /harbor/ COPY ./make/dev/ui/harbor_ui /harbor/ COPY ./src/ui/views /harbor/views