diff --git a/.buildbot/ubuntu/Dockerfile b/.buildbot/ubuntu/Dockerfile index 05af29e..e9ab2d2 100644 --- a/.buildbot/ubuntu/Dockerfile +++ b/.buildbot/ubuntu/Dockerfile @@ -2,8 +2,15 @@ FROM ubuntu:focal 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-get install -yq --no-install-suggests --no-install-recommends \ - python3-dev python3-pip python3.9 python3.9-dev python3.9-venv + python3-dev python3-pip python3.9 python3.9-dev python3.9-venv 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 diff --git a/.buildbot/ubuntu/build.sh b/.buildbot/ubuntu/build.sh new file mode 100755 index 0000000..bda6c27 --- /dev/null +++ b/.buildbot/ubuntu/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo service i2pd start