@@ -35,20 +35,20 @@ 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-py37_4 .12.0" \
39
- PATH="/opt/miniconda-py37_4 .12.0/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-py37_4 .12.0/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-py37_4 .12.0-Linux-x86_64.sh \
51
- && bash "$conda_installer" -b -p /opt/miniconda-py37_4 .12.0 \
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
53
# Prefer packages in conda-forge
54
54
&& conda config --system --prepend channels conda-forge \
@@ -62,7 +62,7 @@ RUN apt-get update -qq \
62
62
# Enable `conda activate`
63
63
&& conda init bash \
64
64
&& conda install -y --name base \
65
- "python=3.7 " \
65
+ "python=3.9 " \
66
66
"traits>=4.6.0" \
67
67
"scipy" \
68
68
"numpy" \
@@ -135,14 +135,14 @@ RUN printf '{ \
135
135
{ \
136
136
"name": "env", \
137
137
"kwds": { \
138
- "CONDA_DIR": "/opt/miniconda-py37_4 .12.0", \
139
- "PATH": "/opt/miniconda-py37_4 .12.0/bin:$PATH" \
138
+ "CONDA_DIR": "/opt/miniconda-py39_4 .12.0", \
139
+ "PATH": "/opt/miniconda-py39_4 .12.0/bin:$PATH" \
140
140
} \
141
141
}, \
142
142
{ \
143
143
"name": "run", \
144
144
"kwds": { \
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-py37_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-py37_4.12.0-Linux-x86_64.sh\\nbash \\"$conda_installer\\" -b -p /opt/miniconda-py37_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.7\\" \\\\\\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/*" \
146
146
} \
147
147
}, \
148
148
{ \
0 commit comments