From a32f4ef0b4b9fcf15ebf5bece64a9726368ab47d Mon Sep 17 00:00:00 2001 From: tdurieux Date: Wed, 11 Jan 2023 11:19:16 +0100 Subject: [PATCH] Improve Dockerfile to reduce image size --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b9d91e7..16819b4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,8 +70,8 @@ LABEL maintainer="Peter Powers " WORKDIR /app RUN yum update -y -RUN yum install -y file epel-release -RUN yum install -y jq +RUN yum install -y file epel-release && rm -rf /var/cache/yum +RUN yum install -y jq && rm -rf /var/cache/yum ARG jar_path ARG builder_workdir