aboutsummaryrefslogtreecommitdiff
path: root/containers
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2020-08-04 11:52:28 +0200
committerAndrea Bolognani <abologna@redhat.com>2020-08-04 11:55:14 +0200
commit7a9b0ba34cb60e2b94996f61a91afc204792791f (patch)
tree87c7b7e2c6acaf175c2b6accc5d3761c006ffa96 /containers
parentb350fe78d9ad3ac9f7a88de3f0543f3e91a526c0 (diff)
downloadlibvirt-ci-7a9b0ba34cb60e2b94996f61a91afc204792791f.zip
libvirt-ci-7a9b0ba34cb60e2b94996f61a91afc204792791f.tar.gz
libvirt-ci-7a9b0ba34cb60e2b94996f61a91afc204792791f.tar.bz2
cirrus-run: Build from git
This is a temporary measure to help validate some recent changes in cirrus-run. Once a new release is made, we'll switch back to installing from PyPi. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Diffstat (limited to 'containers')
-rw-r--r--containers/cirrus-run/Dockerfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/containers/cirrus-run/Dockerfile b/containers/cirrus-run/Dockerfile
index d38c409..9d6d26a 100644
--- a/containers/cirrus-run/Dockerfile
+++ b/containers/cirrus-run/Dockerfile
@@ -1,4 +1,10 @@
FROM centos:8
-RUN dnf install -y python3 && \
- pip3 install cirrus-run==0.2.0
+RUN dnf install -y git python3 python3-jinja2 python3-requests && \
+ git clone https://github.com/sio/cirrus-run.git /src && \
+ cd /src && \
+ python3 setup.py build && \
+ python3 setup.py test && \
+ python3 setup.py install --prefix /usr && \
+ cd / && \
+ rm -rf /src