summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-07-13 15:33:48 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-07-13 16:39:36 +0100
commit9924517ce68534aebd18ba9112e67b79c3b706bf (patch)
tree82bdd8e402db67f6b793a26a53ab8e6f7099f5f3
parentcd21359e340ef8e8b8ff0c9c2b9cd385b02de506 (diff)
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 <daniel.hanrahan@est.tech> Change-Id: I901a4d7aa18b0423097da7d9bf6e759fbc738b8f
-rw-r--r--packages/policy-clamp-docker/src/main/docker/KubernetesParticipant-Suse.Dockerfile4
-rw-r--r--packages/policy-clamp-docker/src/main/docker/KubernetesParticipant.Dockerfile4
2 files changed, 4 insertions, 4 deletions
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