From fc1742f2e9c21f4b1d2a4ea01e09e70e8af37c7a Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 7 Oct 2024 17:02:00 +0200 Subject: [PATCH] File both RUN commands into one Not sure why I did this, but this makes it one layer less --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1f3db4..7477205 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,10 +23,10 @@ RUN (echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true" curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 &&\ chmod 700 get_helm.sh &&\ ./get_helm.sh &&\ - rm ./get_helm.sh + rm ./get_helm.sh &&\ -## See https://github.com/actions/checkout/issues/956 -RUN groupmod -g 1000 runner && usermod -u 1000 runner + ## See https://github.com/actions/checkout/issues/956 + groupmod -g 1000 runner && usermod -u 1000 runner USER runner