File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed
Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,18 @@ RUN bash ./install_user.sh && rm install_user.sh
1515COPY ./common/install_docs_reqs.sh install_docs_reqs.sh
1616RUN bash ./install_docs_reqs.sh && rm install_docs_reqs.sh
1717
18+ COPY ./common/install_python.sh install_python.sh
19+ RUN bash ./install_python.sh && rm install_python.sh
20+
1821# Install conda and other packages
19- ENV ANACONDA_PYTHON_VERSION=3.10
20- ENV CONDA_CMAKE yes
21- ENV DOCS yes
22- ENV PATH /opt/conda/envs/py_$ANACONDA_PYTHON_VERSION/bin:/opt/conda/bin:$PATH
23- COPY ./requirements.txt /opt/conda/
24- COPY ./common/install_conda.sh install_conda.sh
25- COPY ./common/common_utils.sh common_utils.sh
26- RUN bash ./install_conda.sh && rm install_conda.sh common_utils.sh /opt/conda/requirements.txt
22+ # ENV ANACONDA_PYTHON_VERSION=3.10
23+ # ENV CONDA_CMAKE yes
24+ # ENV DOCS yes
25+ # ENV PATH /opt/conda/envs/py_$ANACONDA_PYTHON_VERSION/bin:/opt/conda/bin:$PATH
26+ # COPY ./requirements.txt /opt/conda/
27+ # COPY ./common/install_conda.sh install_conda.sh
28+ # COPY ./common/common_utils.sh common_utils.sh
29+ # RUN bash ./install_conda.sh && rm install_conda.sh common_utils.sh /opt/conda/requirements.txt
2730
2831USER ci-user
2932CMD ["bash" ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -ex
4+ sudo apt install python3.10
5+
6+ python -v
7+
8+ pip --help
You can’t perform that action at this time.
0 commit comments