File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,18 @@ COPY ./common/install_docs_reqs.sh install_docs_reqs.sh
1616RUN bash ./install_docs_reqs.sh && rm install_docs_reqs.sh
1717
1818COPY ./common/install_python.sh install_python.sh
19+ COPY ./requirements.txt requirements.txt
1920RUN bash ./install_python.sh && rm install_python.sh
2021
2122# Install conda and other packages
2223# ENV ANACONDA_PYTHON_VERSION=3.10
2324# ENV CONDA_CMAKE yes
24- # ENV DOCS yes
25+ ENV DOCS yes
2526# ENV PATH /opt/conda/envs/py_$ANACONDA_PYTHON_VERSION/bin:/opt/conda/bin:$PATH
26- # COPY ./requirements.txt /opt/conda/
2727# COPY ./common/install_conda.sh install_conda.sh
2828# COPY ./common/common_utils.sh common_utils.sh
2929# RUN bash ./install_conda.sh && rm install_conda.sh common_utils.sh /opt/conda/requirements.txt
30+ ENV PATH /opt/venv/py310/tutorials/bin:$PATH
3031
3132USER ci-user
3233CMD ["bash" ]
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ install_ubuntu() {
2727 libglfw3-dev \
2828 sox \
2929 libsox-dev \
30- libsox-fmt-all
30+ libsox-fmt-all \
31+ python3.10 \
32+ python3.10-venv
3133
3234 # Cleanup package manager
3335 apt-get autoclean && apt-get clean
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33set -ex
4- sudo apt install python3.10
54
6- python -v
7-
8- pip --help
5+ python3.10 -m venv /opt/venv/tutorials
6+ source /opt/venv/tutorials/bin/activate
7+ pip install --upgrade pip
8+ pip install -r ./requirements.txt
You can’t perform that action at this time.
0 commit comments