diff options
author | Andrea Bolognani <abologna@redhat.com> | 2020-08-04 11:52:28 +0200 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2020-08-04 11:55:14 +0200 |
commit | 7a9b0ba34cb60e2b94996f61a91afc204792791f (patch) | |
tree | 87c7b7e2c6acaf175c2b6accc5d3761c006ffa96 | |
parent | b350fe78d9ad3ac9f7a88de3f0543f3e91a526c0 (diff) | |
download | libvirt-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>
-rw-r--r-- | containers/cirrus-run/Dockerfile | 10 |
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 |