From 13ac1f45e7f90a7439d48f407e089a44eb230102 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Wed, 6 Dec 2023 13:33:18 -0300 Subject: [PATCH] Move package cleaning to the right layer --- .ci/kie-tools-ci-build.Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.ci/kie-tools-ci-build.Dockerfile b/.ci/kie-tools-ci-build.Dockerfile index c4771fcf68e..6ccfbfedeb3 100644 --- a/.ci/kie-tools-ci-build.Dockerfile +++ b/.ci/kie-tools-ci-build.Dockerfile @@ -32,10 +32,9 @@ zip \ unzip \ bzip2 \ xvfb \ -fluxbox - -# Cleanup -RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/ +fluxbox && \ +apt-get clean autoclean && apt-get autoremove --yes && \ +rm -rf /var/lib/{apt,dpkg,cache,log}/ # Install firefox RUN wget -O /tmp/firefox-latest.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" && \