File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,17 +3,16 @@ FROM ubuntu:focal
33RUN apt-get update
44RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends software-properties-common
55RUN add-apt-repository -y 'ppa:deadsnakes/ppa'
6- RUN DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends python3.8 python3.8-venv
6+ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3.8 python3.8-venv python3.9 python3.10 python3.11 python3.12
77RUN rm -rf /var/lib/apt/lists/*
88
99WORKDIR /src
1010
1111ENV PATH=/venv/bin:$PATH
1212RUN python3.8 -m venv /venv
13- COPY requirements/ /src/requirements/
14- RUN python3.8 -m pip install --upgrade -r requirements/requirements-dev.txt -r requirements/requirements-test.txt --no-cache-dir
13+ RUN . /venv/bin/activate
14+ RUN python -m pip install --upgrade tox --no-cache-dir
1515
1616COPY . /src
17- RUN python3.8 -m pip install . --no-cache-dir
1817
1918CMD ["tox" , "-r" ]
You can’t perform that action at this time.
0 commit comments