From 9924517ce68534aebd18ba9112e67b79c3b706bf Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Wed, 13 Jul 2022 15:33:48 +0100 Subject: Suppress junk output in k8s participant dockerfile Add 'no-verbose' option to wget to suppress progress meter while retaining status and error messages. Issue-ID: POLICY-4286 Signed-off-by: danielhanrahan Change-Id: I901a4d7aa18b0423097da7d9bf6e759fbc738b8f --- .../src/main/docker/KubernetesParticipant-Suse.Dockerfile | 4 ++-- .../src/main/docker/KubernetesParticipant.Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/policy-clamp-docker') diff --git a/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile b/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile index ae3ab9fc1..18175f3a7 100644 --- a/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile +++ b/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile @@ -56,12 +56,12 @@ COPY --chown=policy:policy kubernetes-participant.sh bin/ COPY --chown=policy:policy /maven/policy-clamp-participant-impl-kubernetes.jar /app/app.jar RUN chmod 755 bin/*.sh && \ - wget https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz && \ + wget -nv https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz && \ tar xvf helm-v3.5.2-linux-amd64.tar.gz && \ mv linux-amd64/helm /usr/local/bin && \ rm -rf linux-amd64 && \ rm helm-v3.5.2-linux-amd64.tar.gz && \ - wget https://storage.googleapis.com/kubernetes-release/release/v1.21.1/bin/linux/amd64/kubectl && \ + wget -nv https://storage.googleapis.com/kubernetes-release/release/v1.21.1/bin/linux/amd64/kubectl && \ chmod +x kubectl && \ mv kubectl /usr/local/bin/kubectl diff --git a/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile b/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile index 4a1833277..de7c43bd1 100644 --- a/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile +++ b/packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile @@ -52,12 +52,12 @@ COPY --chown=policy:policy /maven/policy-clamp-participant-impl-kubernetes.jar / RUN chmod 755 bin/*.sh && \ apk update && \ apk add wget && \ - wget https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz && \ + wget -nv https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz && \ tar xvf helm-v3.5.2-linux-amd64.tar.gz && \ mv linux-amd64/helm /usr/local/bin && \ rm -rf linux-amd64 && \ rm helm-v3.5.2-linux-amd64.tar.gz && \ - wget https://storage.googleapis.com/kubernetes-release/release/v1.21.1/bin/linux/amd64/kubectl && \ + wget -nv https://storage.googleapis.com/kubernetes-release/release/v1.21.1/bin/linux/amd64/kubectl && \ chmod +x kubectl && \ mv kubectl /usr/local/bin/kubectl -- cgit 1.2.3-korg