2023-07-27 16:38:13 +02:00
|
|
|
FROM ubuntu:jammy
|
2022-04-25 01:33:55 +02:00
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
|
2022-09-23 03:17:38 +02:00
|
|
|
RUN apt-get install -yq software-properties-common
|
|
|
|
|
2023-07-27 16:38:13 +02:00
|
|
|
RUN apt-add-repository ppa:purplei2p/i2pd && apt-get update -qq
|
2022-09-23 03:17:38 +02:00
|
|
|
|
2022-04-25 01:33:55 +02:00
|
|
|
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
2023-07-27 16:38:13 +02:00
|
|
|
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
|
2022-09-23 03:17:38 +02:00
|
|
|
|
|
|
|
RUN echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
2022-04-25 01:33:55 +02:00
|
|
|
|
2023-07-27 16:38:13 +02:00
|
|
|
RUN pip install setuptools wheel
|
|
|
|
RUN pip install --upgrade pip tox virtualenv
|
|
|
|
|
|
|
|
ADD . .
|
|
|
|
|
2024-07-23 01:31:43 +02:00
|
|
|
CMD .buildbot/ubuntu/build.sh && .buildbot/ubuntu/test.sh
|