Update the buildbot_multibuild dir to jammy and enable py311

This commit is contained in:
Lee Miller 2023-07-27 17:38:13 +03:00
parent 5a65978678
commit ddba85384d
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 12 additions and 7 deletions

View File

@ -1,16 +1,21 @@
FROM ubuntu:focal
FROM ubuntu:jammy
RUN apt-get update
RUN apt-get install -yq software-properties-common
RUN apt-add-repository ppa:purplei2p/i2pd
RUN apt-get update
RUN apt-add-repository ppa:purplei2p/i2pd && apt-get update -qq
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
python3-dev python3-pip python3.9 python3.9-dev python3.9-venv sudo i2pd
python3-dev python3-pip python-is-python3 python3.11-dev python3.11-venv
RUN apt-get install -yq --no-install-suggests --no-install-recommends sudo i2pd
RUN echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN python3.9 -m pip install setuptools wheel
RUN python3.9 -m pip install --upgrade pip tox virtualenv
RUN pip install setuptools wheel
RUN pip install --upgrade pip tox virtualenv
ADD . .
CMD .buildbot/ubuntu/test.sh

View File

@ -1,5 +1,5 @@
[tox]
envlist = reset,py{36,37,38,39,310},stats
envlist = reset,py3{6,7,8,9,10,11},stats
skip_missing_interpreters = true
[testenv]