From 7a9b0ba34cb60e2b94996f61a91afc204792791f Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 4 Aug 2020 11:52:28 +0200 Subject: 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 --- containers/cirrus-run/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'containers') 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 -- cgit v1.1