From 0584956d13f23699cc3a08abec5372ae9801e9bc Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 23 Sep 2022 04:17:38 +0300 Subject: [PATCH] Install and start i2pd in buildbot --- .buildbot/ubuntu/Dockerfile | 9 ++++++++- .buildbot/ubuntu/build.sh | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 .buildbot/ubuntu/build.sh 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