Skip to content

Commit 799403c

Browse files
committed
Do not use wget --quiet, as it makes debugging much harder
1 parent 4e57503 commit 799403c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

datascience-notebook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN set -x && \
4444
julia_installer="julia-${JULIA_VERSION}-linux-${julia_arch}.tar.gz" && \
4545
julia_major_minor=$(echo "${JULIA_VERSION}" | cut -d. -f 1,2) && \
4646
mkdir "/opt/julia-${JULIA_VERSION}" && \
47-
wget -q "https://julialang-s3.julialang.org/bin/linux/${julia_short_arch}/${julia_major_minor}/${julia_installer}" && \
47+
wget --progress=dot:giga "https://julialang-s3.julialang.org/bin/linux/${julia_short_arch}/${julia_major_minor}/${julia_installer}" && \
4848
tar xzf "${julia_installer}" -C "/opt/julia-${JULIA_VERSION}" --strip-components=1 && \
4949
rm "${julia_installer}" && \
5050
ln -fs /opt/julia-*/bin/julia /usr/local/bin/julia

docker-stacks-foundation/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ RUN set -x && \
101101
# Should be simpler, see <https://github.com/mamba-org/mamba/issues/1437>
102102
arch="64"; \
103103
fi && \
104-
wget -qO /tmp/micromamba.tar.bz2 \
104+
wget --progress=dot:giga -O /tmp/micromamba.tar.bz2 \
105105
"https://micromamba.snakepit.net/api/micromamba/linux-${arch}/latest" && \
106106
tar -xvjf /tmp/micromamba.tar.bz2 --strip-components=1 bin/micromamba && \
107107
rm /tmp/micromamba.tar.bz2 && \

docs/using/recipes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ RUN echo 'deb https://cdn-fastly.deb.debian.org/debian jessie-backports main' >
405405
rm /etc/apt/sources.list.d/jessie-backports.list && \
406406
apt-get clean && rm -rf /var/lib/apt/lists/* && \
407407
# Add Hadoop binaries
408-
wget https://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz && \
408+
wget --progress=dot:giga https://mirrors.ukfast.co.uk/sites/ftp.apache.org/hadoop/common/hadoop-2.7.3/hadoop-2.7.3.tar.gz && \
409409
tar -xvf hadoop-2.7.3.tar.gz -C /usr/local && \
410410
chown -R "${NB_USER}:users" /usr/local/hadoop-2.7.3 && \
411411
rm -f hadoop-2.7.3.tar.gz && \
@@ -543,7 +543,7 @@ FROM jupyter/scipy-notebook:latest
543543

544544
RUN PYV=$(ls "${CONDA_DIR}/lib" | grep ^python) && \
545545
MPL_DATA="${CONDA_DIR}/lib/${PYV}/site-packages/matplotlib/mpl-data" && \
546-
wget --quiet -P "${MPL_DATA}/fonts/ttf/" https://mirrors.cloud.tencent.com/adobe-fonts/source-han-sans/SubsetOTF/CN/SourceHanSansCN-Normal.otf && \
546+
wget --progress=dot:giga -P "${MPL_DATA}/fonts/ttf/" https://mirrors.cloud.tencent.com/adobe-fonts/source-han-sans/SubsetOTF/CN/SourceHanSansCN-Normal.otf && \
547547
sed -i 's/#font.family/font.family/g' "${MPL_DATA}/matplotlibrc" && \
548548
sed -i 's/#font.sans-serif:/font.sans-serif: Source Han Sans CN,/g' "${MPL_DATA}/matplotlibrc" && \
549549
sed -i 's/#axes.unicode_minus: True/axes.unicode_minus: False/g' "${MPL_DATA}/matplotlibrc" && \
@@ -598,7 +598,7 @@ ENV PATH="/opt/mssql-tools18/bin:${PATH}"
598598

599599
RUN apt-get update --yes && \
600600
apt-get install --yes --no-install-recommends gnupg2 && \
601-
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /usr/share/keyrings/microsoft.gpg && \
601+
wget --progress=dot:giga https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /usr/share/keyrings/microsoft.gpg && \
602602
apt-get purge --yes gnupg2 && \
603603
echo "deb [arch=amd64,armhf,arm64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list.d/microsoft.list && \
604604
apt-get update --yes && \

pyspark-notebook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ WORKDIR /tmp
3636
# You need to use https://archive.apache.org/dist/ website if you want to download old Spark versions
3737
# But it seems to be slower, that's why we use recommended site for download
3838
RUN if [ -z "${scala_version}" ]; then \
39-
wget -qO "spark.tgz" "https://dlcdn.apache.org/spark/spark-${APACHE_SPARK_VERSION}/spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz"; \
39+
wget --progress=dot:giga -O "spark.tgz" "https://dlcdn.apache.org/spark/spark-${APACHE_SPARK_VERSION}/spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz"; \
4040
else \
41-
wget -qO "spark.tgz" "https://dlcdn.apache.org/spark/spark-${APACHE_SPARK_VERSION}/spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${scala_version}.tgz"; \
41+
wget --progress=dot:giga -O "spark.tgz" "https://dlcdn.apache.org/spark/spark-${APACHE_SPARK_VERSION}/spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${scala_version}.tgz"; \
4242
fi && \
4343
echo "${spark_checksum} *spark.tgz" | sha512sum -c - && \
4444
tar xzf "spark.tgz" -C /usr/local --owner root --group root --no-same-owner && \

0 commit comments

Comments
 (0)