@@ -35,22 +35,21 @@ RUN apt-get update -qq \
35
35
&& rm -rf /var/lib/apt/lists/*
36
36
COPY ["." , \
37
37
"/src/heudiconv" ]
38
- ENV CONDA_DIR="/opt/miniconda-latest " \
39
- PATH="/opt/miniconda-latest /bin:$PATH"
38
+ ENV CONDA_DIR="/opt/miniconda-py39_4.12.0 " \
39
+ PATH="/opt/miniconda-py39_4.12.0 /bin:$PATH"
40
40
RUN apt-get update -qq \
41
41
&& apt-get install -y -q --no-install-recommends \
42
42
bzip2 \
43
43
ca-certificates \
44
44
curl \
45
45
&& rm -rf /var/lib/apt/lists/* \
46
46
# Install dependencies.
47
- && export PATH="/opt/miniconda-latest /bin:$PATH" \
47
+ && export PATH="/opt/miniconda-py39_4.12.0 /bin:$PATH" \
48
48
&& echo "Downloading Miniconda installer ..." \
49
49
&& conda_installer="/tmp/miniconda.sh" \
50
- && curl -fsSL -o "$conda_installer" https://repo.continuum.io/miniconda/Miniconda3-latest -Linux-x86_64.sh \
51
- && bash "$conda_installer" -b -p /opt/miniconda-latest \
50
+ && curl -fsSL -o "$conda_installer" https://repo.continuum.io/miniconda/Miniconda3-py39_4.12.0 -Linux-x86_64.sh \
51
+ && bash "$conda_installer" -b -p /opt/miniconda-py39_4.12.0 \
52
52
&& rm -f "$conda_installer" \
53
- && conda update -yq -nbase conda \
54
53
# Prefer packages in conda-forge
55
54
&& conda config --system --prepend channels conda-forge \
56
55
# Packages in lower-priority channels not considered if a package with the same
@@ -136,14 +135,14 @@ RUN printf '{ \
136
135
{ \
137
136
"name": "env", \
138
137
"kwds": { \
139
- "CONDA_DIR": "/opt/miniconda-latest ", \
140
- "PATH": "/opt/miniconda-latest /bin:$PATH" \
138
+ "CONDA_DIR": "/opt/miniconda-py39_4.12.0 ", \
139
+ "PATH": "/opt/miniconda-py39_4.12.0 /bin:$PATH" \
141
140
} \
142
141
}, \
143
142
{ \
144
143
"name": "run", \
145
144
"kwds": { \
146
- "command": "apt-get update -qq\\napt-get install -y -q --no-install-recommends \\\\\\n bzip2 \\\\\\n ca-certificates \\\\\\n curl\\nrm -rf /var/lib/apt/lists/*\\n# Install dependencies.\\nexport PATH=\\"/opt/miniconda-latest/bin:$PATH\\"\\necho \\"Downloading Miniconda installer ...\\"\\nconda_installer=\\"/tmp/miniconda.sh\\"\\ncurl -fsSL -o \\"$conda_installer\\" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash \\"$conda_installer\\" -b -p /opt/miniconda-latest\\nrm -f \\"$conda_installer\\"\\nconda update -yq -nbase conda\\n# Prefer packages in conda-forge\\nconda config --system --prepend channels conda-forge\\n# Packages in lower-priority channels not considered if a package with the same\\n# name exists in a higher priority channel. Can dramatically speed up installations.\\n# Conda recommends this as a default\\n# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html\\nconda config --set channel_priority strict\\nconda config --system --set auto_update_conda false\\nconda config --system --set show_channel_urls true\\n# Enable `conda activate`\\nconda init bash\\nconda install -y --name base \\\\\\n \\"python=3.9\\" \\\\\\n \\"traits>=4.6.0\\" \\\\\\n \\"scipy\\" \\\\\\n \\"numpy\\" \\\\\\n \\"nomkl\\" \\\\\\n \\"pandas\\"\\nbash -c \\"source activate base\\n python -m pip install --no-cache-dir --editable \\\\\\n \\"/src/heudiconv[all]\\"\\"\\n# Clean up\\nsync && conda clean --all --yes && sync\\nrm -rf ~/.cache/pip/*" \
145
+ "command": "apt-get update -qq\\napt-get install -y -q --no-install-recommends \\\\\\n bzip2 \\\\\\n ca-certificates \\\\\\n curl\\nrm -rf /var/lib/apt/lists/*\\n# Install dependencies.\\nexport PATH=\\"/opt/miniconda-py39_4.12.0/bin:$PATH\\"\\necho \\"Downloading Miniconda installer ...\\"\\nconda_installer=\\"/tmp/miniconda.sh\\"\\ncurl -fsSL -o \\"$conda_installer\\" https://repo.continuum.io/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh\\nbash \\"$conda_installer\\" -b -p /opt/miniconda-py39_4.12.0\\nrm -f \\"$conda_installer\\"\\n# Prefer packages in conda-forge\\nconda config --system --prepend channels conda-forge\\n# Packages in lower-priority channels not considered if a package with the same\\n# name exists in a higher priority channel. Can dramatically speed up installations.\\n# Conda recommends this as a default\\n# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html\\nconda config --set channel_priority strict\\nconda config --system --set auto_update_conda false\\nconda config --system --set show_channel_urls true\\n# Enable `conda activate`\\nconda init bash\\nconda install -y --name base \\\\\\n \\"python=3.9\\" \\\\\\n \\"traits>=4.6.0\\" \\\\\\n \\"scipy\\" \\\\\\n \\"numpy\\" \\\\\\n \\"nomkl\\" \\\\\\n \\"pandas\\"\\nbash -c \\"source activate base\\n python -m pip install --no-cache-dir --editable \\\\\\n \\"/src/heudiconv[all]\\"\\"\\n# Clean up\\nsync && conda clean --all --yes && sync\\nrm -rf ~/.cache/pip/*" \
147
146
} \
148
147
}, \
149
148
{ \
0 commit comments