Skip to content

Commit

Permalink
Avoid spamming logs with wget/curl
Browse files Browse the repository at this point in the history
  • Loading branch information
mbargull committed Oct 16, 2023
1 parent 8532357 commit 954ab7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion images/base-glibc-busybox-bash/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
&& \
Expand Down
4 changes: 2 additions & 2 deletions images/base-glibc-busybox-bash/build-busybox
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
set -xeu

download() {
curl -L \
curl --location --silent \
"https://busybox.net/downloads/busybox-${version}.tar.bz2" \
| tar -xjf- --strip-components=1
}

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
Expand Down
3 changes: 2 additions & 1 deletion images/base-glibc-debian-bash/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
&& \
Expand Down

0 comments on commit 954ab7e

Please sign in to comment.