From 9b2e225461a5f1fa99b3bdd9a662577fd50a8952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 19 Mar 2020 14:53:19 +0100 Subject: [PATCH] addd buildbot installation --- containers/buildbot-mlir-nvidia/Dockerfile | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/containers/buildbot-mlir-nvidia/Dockerfile b/containers/buildbot-mlir-nvidia/Dockerfile index bb27100..8ed742e 100644 --- a/containers/buildbot-mlir-nvidia/Dockerfile +++ b/containers/buildbot-mlir-nvidia/Dockerfile @@ -1,5 +1,9 @@ +# There is already an Ubuntu image with cuda :) FROM nvidia/cuda:10.2-base +# for the host configuration see: +# https://github.com/NVIDIA/nvidia-docker + # install build tools # set -eux;\ RUN apt-get update; \ @@ -16,6 +20,20 @@ RUN mkdir /tests ;\ # install cuda # avoid popups for keyboard configurations RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cuda +RUN apt-get install -y python-virtualenv python-pip +# setup build bot +RUN mkdir /buildbot ;\ + cd /buildbot ;\ + mkdir buildmaster ;\ + mkdir workspace ;\ + virtualenv -p python2 venv ;\ + . venv/bin/activate ;\ + pip install sqlalchemy-migrate==0.7.1 ;\ + # old version, dependencies seem broken! + pip install --ignore-installed sqlalchemy-migrate buildbot==0.8.5 ;\ + pip install buildbot-slave==0.8.5 COPY test.sh /tests -CMD /tests/test.sh \ No newline at end of file +VOLUME /buildbot/buildmaster +VOLUME /buildbot/workspace +CMD /buildbot/venv/bin/buildbot start /buildbot/workspace \ No newline at end of file