[CRIU] [PATCH 2/2] travis: set python3 as default for fedora containers
Andrei Vagin
avagin at virtuozzo.com
Tue May 29 23:45:29 MSK 2018
We need a few jobs to check a compatibility with python3
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
scripts/build/Dockerfile.fedora.tmpl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/build/Dockerfile.fedora.tmpl b/scripts/build/Dockerfile.fedora.tmpl
index 96a41f191..c2be7bfce 100644
--- a/scripts/build/Dockerfile.fedora.tmpl
+++ b/scripts/build/Dockerfile.fedora.tmpl
@@ -23,6 +23,7 @@ RUN dnf install -y \
python-ipaddress \
# Starting with Fedora 28 this is python2-pyyaml
python-yaml \
+ python3-pip \
python2-future \
tar \
which
@@ -33,6 +34,9 @@ RUN dnf install -y \
# > sh: /usr/bin/sort: /usr/bin/coreutils: bad interpreter: No such file or directory
RUN dnf install -y --allowerasing coreutils
+RUN ln -sf python3 /usr/bin/python
+RUN pip3 install PyYAML future ipaddress protobuf junit-xml
+
COPY . /criu
WORKDIR /criu
--
2.14.3
More information about the CRIU
mailing list