Skip to content

Commit b6a3cd1

Browse files
committed
fix: ensure valid url in wget for conda environment
1 parent 52b739f commit b6a3cd1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/conda/Dockerfile.conda

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ FROM deepnote/python:base
44

55
RUN apt-get update && \
66
apt-get install -y --no-install-recommends \
7-
wget \
87
tini \
98
libglib2.0-0 libxext6 libsm6 libxrender1 && \
109
apt-get clean && \
@@ -18,8 +17,7 @@ ENV CONDA_ALWAYS_YES=true
1817
# but that would require baking in the URLs for
1918
# different Miniconda installer versions into the Dockerfile.
2019
ARG PYTHON_VERSION
21-
RUN MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" && \
22-
wget --quiet $MINICONDA_URL -O /tmp/miniconda.sh && \
20+
RUN wget --quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O /tmp/miniconda.sh && \
2321
/bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2422
rm /tmp/miniconda.sh && \
2523
# Install the correct version of python (as the time of

0 commit comments

Comments
 (0)