From 37956d50afefd07f960cca93b1b8f941cc16c076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Sun, 8 May 2022 11:21:54 +0800 Subject: [PATCH] Support dumb-init on xenial --- lib/worker_multibuild.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/worker_multibuild.py b/lib/worker_multibuild.py index e3b0db5..3e7ad48 100644 --- a/lib/worker_multibuild.py +++ b/lib/worker_multibuild.py @@ -75,9 +75,13 @@ dockerfile_extra_contents['xenial'] = """ # Buildbot RUN apt-get update -y && apt-get install -yq --no-install-suggests --no-install-recommends \ buildbot-slave git subversion python3-dev libffi-dev python3-setuptools \ - python3-pip dumb-init curl openssh-client wget \ + python3-pip curl openssh-client wget \ python-setuptools python-psutil libssl-dev python-dev libgmp-dev python-virtualenv +# dumb-init +RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_amd64.deb +RUN dpkg -i dumb-init_*.deb && rm -f dumb-init_*.deb + # buildbot entrypoint RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh