From 16981560e4504e0a1508856a161c48efa0eac707 Mon Sep 17 00:00:00 2001 From: Bill Wang Date: Mon, 9 Jan 2023 11:02:02 +1100 Subject: [PATCH] feature/40 --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42dd8d9..63ddb9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,16 +15,16 @@ RUN apk add --update --no-cache curl ca-certificates bash git && \ curl -sL ${BASE_URL}/${TAR_FILE} | tar -xvz && \ mv linux-amd64/helm /usr/bin/helm && \ chmod +x /usr/bin/helm && \ - rm -rf linux-amd64 + rm -rf linux-amd64 /root/.local /root/.cache # add helm-diff -RUN helm plugin install https://github.com/databus23/helm-diff && rm -rf /tmp/helm-* +RUN helm plugin install https://github.com/databus23/helm-diff && rm -rf /tmp/helm-* /root/.local /root/.cache # add helm-unittest -RUN helm plugin install https://github.com/quintush/helm-unittest && rm -rf /tmp/helm-* +RUN helm plugin install https://github.com/quintush/helm-unittest && rm -rf /tmp/helm-* /root/.local /root/.cache # add helm-push -RUN helm plugin install https://github.com/chartmuseum/helm-push && rm -rf /tmp/helm-* +RUN helm plugin install https://github.com/chartmuseum/helm-push && rm -rf /tmp/helm-* /root/.local /root/.cache # Install kubectl (same version of aws esk) RUN curl -sLO https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \ @@ -47,7 +47,8 @@ RUN apk add --update --no-cache python3 && \ python3 -m ensurepip && \ pip3 install --upgrade pip && \ pip3 install awscli && \ - pip3 cache purge + pip3 cache purge && \ + rm -rf /root/.cache # Install jq RUN apk add --update --no-cache jq yq