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
16
16
RUN bash ./install_docs_reqs.sh && rm install_docs_reqs.sh
17
17
18
18
COPY ./common/install_python.sh install_python.sh
19
+ COPY ./requirements.txt requirements.txt
19
20
RUN bash ./install_python.sh && rm install_python.sh
20
21
21
22
# Install conda and other packages
22
23
# ENV ANACONDA_PYTHON_VERSION=3.10
23
24
# ENV CONDA_CMAKE yes
24
- # ENV DOCS yes
25
+ ENV DOCS yes
25
26
# ENV PATH /opt/conda/envs/py_$ANACONDA_PYTHON_VERSION/bin:/opt/conda/bin:$PATH
26
- # COPY ./requirements.txt /opt/conda/
27
27
# COPY ./common/install_conda.sh install_conda.sh
28
28
# COPY ./common/common_utils.sh common_utils.sh
29
29
# 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
30
31
31
32
USER ci-user
32
33
CMD ["bash" ]
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ install_ubuntu() {
27
27
libglfw3-dev \
28
28
sox \
29
29
libsox-dev \
30
- libsox-fmt-all
30
+ libsox-fmt-all \
31
+ python3.10 \
32
+ python3.10-venv
31
33
32
34
# Cleanup package manager
33
35
apt-get autoclean && apt-get clean
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
set -ex
4
- sudo apt install python3.10
5
4
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