Suppress junk output in k8s participant dockerfile 11/129911/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 13 Jul 2022 14:33:48 +0000 (15:33 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Wed, 13 Jul 2022 15:39:36 +0000 (16:39 +0100)
Add 'no-verbose' option to wget to suppress progress meter while
retaining status and error messages.

Issue-ID: POLICY-4286
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I901a4d7aa18b0423097da7d9bf6e759fbc738b8f

packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile
packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile

index ae3ab9f..18175f3 100644 (file)
@@ -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
 
index 4a18332..de7c43b 100644 (file)
@@ -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