Skip to content

Commit 3bbb71e

Browse files
committed
tc
1 parent a551cdf commit 3bbb71e

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.ci/docker/Dockerfile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,18 @@ RUN bash ./install_user.sh && rm install_user.sh
1515
COPY ./common/install_docs_reqs.sh install_docs_reqs.sh
1616
RUN 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

2831
USER ci-user
2932
CMD ["bash"]

.ci/docker/common/install_python.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
sudo apt install python3.10
5+
6+
python -v
7+
8+
pip --help

0 commit comments

Comments
 (0)