Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/buildbot-lts/docker/Dockerfile')
-rw-r--r--build_files/buildbot-lts/docker/Dockerfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/build_files/buildbot-lts/docker/Dockerfile b/build_files/buildbot-lts/docker/Dockerfile
new file mode 100644
index 00000000000..bf433f1afee
--- /dev/null
+++ b/build_files/buildbot-lts/docker/Dockerfile
@@ -0,0 +1,36 @@
+FROM ubuntu:18.04
+
+RUN apt update && apt upgrade -y
+RUN apt install -y \
+ gosu \
+ wget \
+ openssh-client \
+ build-essential \
+ libffi-dev \
+ libssl-dev \
+ python3-dev \
+ python3-pip
+
+
+ENV BUILDBOT_VERSION 2.5.0
+RUN pip3 --no-cache-dir install --upgrade pip && pip --no-cache-dir install \
+ buildbot[bundle,tls]==$BUILDBOT_VERSION \
+ buildbot-docker-swarm-worker
+
+COPY buildbot.tac /var/lib/buildbot/
+COPY docker-entrypoint.sh /usr/local/bin/
+COPY master.cfg /etc/buildbot/
+COPY bin/create_checksum.sh /var/lib/buildbot/bin/
+COPY bin/upload_file.sh /var/lib/buildbot/bin/
+COPY .ssh/id_rsa /var/lib/buildbot/.ssh/
+
+RUN adduser --home /var/lib/buildbot --disabled-password --gecos '' buildbot
+WORKDIR /var/lib/buildbot
+RUN ln -s /etc/buildbot/master.cfg
+
+VOLUME /var/lib/buildbot
+EXPOSE 8010
+EXPOSE 9989
+
+ENTRYPOINT ["docker-entrypoint.sh"]
+CMD ["twistd", "--pidfile=", "--nodaemon", "--python=buildbot.tac"] \ No newline at end of file