2024-05-05 18:23:16 -05:00
|
|
|
FROM ubuntu:22.04
|
2020-12-10 15:35:19 -06:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2021-01-25 11:28:47 -06:00
|
|
|
RUN apt-get update && apt-get install --no-install-recommends software-properties-common -y
|
2021-01-21 17:40:09 -06:00
|
|
|
# 18.04 includes 2.17 but github requires 2.18+ to support submodules.
|
2022-11-04 19:59:37 -05:00
|
|
|
#RUN add-apt-repository ppa:git-core/ppa
|
2024-05-05 18:23:16 -05:00
|
|
|
ADD .github/workflows/install_dependencies_run_ubuntu22p04.sh install_dependencies_run.sh
|
2021-01-21 17:40:09 -06:00
|
|
|
RUN bash install_dependencies_run.sh
|
2021-01-26 17:40:45 -06:00
|
|
|
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
2024-05-06 12:36:05 -05:00
|
|
|
RUN python3.10 get-pip.py && rm get-pip.py
|
|
|
|
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
2020-12-10 16:49:02 -06:00
|
|
|
ADD requirements.txt requirements.txt
|
2024-05-06 12:36:05 -05:00
|
|
|
ENV PYTHON_EXEC=python3.10
|
2022-08-26 23:09:27 -05:00
|
|
|
RUN ${PYTHON_EXEC} -m pip install -r requirements.txt
|