diff options
Diffstat (limited to 'build_files/buildbot-lts/docker/worker/Dockerfile')
-rw-r--r-- | build_files/buildbot-lts/docker/worker/Dockerfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build_files/buildbot-lts/docker/worker/Dockerfile b/build_files/buildbot-lts/docker/worker/Dockerfile new file mode 100644 index 00000000000..dbecf4ea9ba --- /dev/null +++ b/build_files/buildbot-lts/docker/worker/Dockerfile @@ -0,0 +1,27 @@ +FROM ubuntu:18.04 + +RUN set -ex; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + build-essential \ + git \ + wget \ + python3-dev \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + ; \ + rm -rf /var/lib/apt/lists/* + +ENV BUILDBOT_VERSION 2.5.0 +RUN pip3 install --upgrade pip && \ + pip --no-cache-dir install twisted[tls] && \ + pip --no-cache-dir install buildbot_worker==$BUILDBOT_VERSION + +RUN useradd --create-home --home-dir=/var/lib/buildbot buildbot +WORKDIR /var/lib/buildbot +USER buildbot + +COPY buildbot.tac . + +CMD ["twistd", "--pidfile=", "--nodaemon", "--python=buildbot.tac"]
\ No newline at end of file |