From fd3942e1b41ebae418e2e6a76849809da85936f7 Mon Sep 17 00:00:00 2001 From: tyichye19 <84450119+tyichye19@users.noreply.github.com> Date: Wed, 10 Aug 2022 12:15:46 +0300 Subject: [PATCH] add clean cache to dockerfile (#62) Signed-off-by: Tal Yichye --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5157ad0..3256e9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,8 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager main.go FROM registry.access.redhat.com/ubi8/ubi-minimal:latest MAINTAINER IBM Storage +RUN microdnf update -y && microdnf clean all + ARG VCS_REF ARG VCS_URL