File tree Expand file tree Collapse file tree 7 files changed +18
-93
lines changed Expand file tree Collapse file tree 7 files changed +18
-93
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,11 @@ 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- # 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
18+ COPY ./common/install_pip_requirements.sh install_pip_requirements.sh
19+ COPY ./requirements.txt requirements.txt
20+ RUN bash ./install_pip_requirements.sh && rm install_pip_requirements.sh
21+
22+ RUN ln -s /usr/bin/python3 /usr/bin/python
2723
2824USER ci-user
2925CMD ["bash" ]
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set -exu
1010IMAGE_NAME=" $1 "
1111shift
1212
13- export UBUNTU_VERSION=" 20 .04"
13+ export UBUNTU_VERSION=" 22 .04"
1414export CUDA_VERSION=" 12.4.1"
1515
1616export BASE_IMAGE=" nvidia/cuda:${CUDA_VERSION} -devel-ubuntu${UBUNTU_VERSION} "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ install_ubuntu() {
1010 apt-get install -y --no-install-recommends \
1111 build-essential \
1212 ca-certificates \
13- cmake=3.16 * \
13+ cmake=3.22 * \
1414 curl \
1515 git \
1616 wget \
@@ -27,7 +27,9 @@ install_ubuntu() {
2727 libglfw3-dev \
2828 sox \
2929 libsox-dev \
30- libsox-fmt-all
30+ libsox-fmt-all \
31+ python3-pip \
32+ python3-dev
3133
3234 # Cleanup package manager
3335 apt-get autoclean && apt-get clean
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -ex
4+
5+ # Install pip packages
6+ pip install --upgrade pip
7+ pip install -r ./requirements.txt
Original file line number Diff line number Diff line change 1+ exclude_path = [" .jenkins/build.sh" ]
You can’t perform that action at this time.
0 commit comments