From 954ab7e29f4fd4f13ed6669c66d34c54ddb2df47 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Mon, 16 Oct 2023 14:02:34 +0200 Subject: [PATCH] Avoid spamming logs with wget/curl --- images/base-glibc-busybox-bash/Dockerfile.test | 3 ++- images/base-glibc-busybox-bash/build-busybox | 4 ++-- images/base-glibc-debian-bash/Dockerfile.test | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/images/base-glibc-busybox-bash/Dockerfile.test b/images/base-glibc-busybox-bash/Dockerfile.test index ec206d12..feba4402 100644 --- a/images/base-glibc-busybox-bash/Dockerfile.test +++ b/images/base-glibc-busybox-bash/Dockerfile.test @@ -19,7 +19,8 @@ RUN [ "$( sh -lc 'printf world' )" = 'world' ] \ RUN arch=$(uname -m) \ && \ - wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-${arch}.sh" \ + wget --quiet \ + "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-${arch}.sh" \ && \ sh ./Miniforge3-Linux-${arch}.sh -bp /opt/conda \ && \ diff --git a/images/base-glibc-busybox-bash/build-busybox b/images/base-glibc-busybox-bash/build-busybox index 40ae7429..db642e9e 100755 --- a/images/base-glibc-busybox-bash/build-busybox +++ b/images/base-glibc-busybox-bash/build-busybox @@ -2,7 +2,7 @@ set -xeu download() { - curl -L \ + curl --location --silent \ "https://busybox.net/downloads/busybox-${version}.tar.bz2" \ | tar -xjf- --strip-components=1 } @@ -10,7 +10,7 @@ download() { patch() { case "${version}" in 1.36.* ) # Small fix to let it build with older glibc versions. - curl --location \ + curl --location --silent \ 'https://git.busybox.net/busybox/patch/miscutils/seedrng.c?id=200a9669fbf6f06894e4243cccc9fc11a1a6073a' \ 'https://git.busybox.net/busybox/patch/miscutils/seedrng.c?id=cb57abb46f06f4ede8d9ccbdaac67377fdf416cf' \ | command patch --strip=1 diff --git a/images/base-glibc-debian-bash/Dockerfile.test b/images/base-glibc-debian-bash/Dockerfile.test index 0a929b19..f2f0bace 100644 --- a/images/base-glibc-debian-bash/Dockerfile.test +++ b/images/base-glibc-debian-bash/Dockerfile.test @@ -31,7 +31,8 @@ RUN apt-get update -qq \ && \ arch=$(uname -m) \ && \ - wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-${arch}.sh" \ + wget --quiet \ + "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-${arch}.sh" \ && \ sh ./Miniforge3-Linux-${arch}.sh -bp /opt/conda \ && \