From a62aa8c0c836b98a5330f5e0ae5bcbfab9761a27 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 7 Nov 2023 11:53:29 +0100 Subject: [PATCH] sonarcloud fix docker: Remove cache after installing packages https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=vogler_free-games-claimer&open=AYupZi3__aoWVkCdISRI https://sonarcloud.io/organizations/vogler/rules?open=docker%3AS6587&rule_key=docker%3AS6587&tab=how_to_fix https://askubuntu.com/questions/3167/what-is-difference-between-the-options-autoclean-autoremove-and-clean --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a291b3..f44a893 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,8 +36,8 @@ RUN apt-get update \ libgdk-pixbuf-2.0-0 \ libdbus-glib-1-2 \ libxcursor1 \ - && apt-get autoclean -y \ && apt-get autoremove -y \ + && apt-get clean \ && rm -rf \ /tmp/* \ /usr/share/doc/* \