From 6ea7917e6d4edbae63016b1fc0c53cfd4225c632 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Tue, 15 Dec 2020 09:34:38 +0100 Subject: Use python3 to get repo working again. The latest version of repo requires python3.6+, but the default Debian package is fine with the default python3 package (although it complains about experimental support). Signed-off-by: Patrick Vacek --- scripts/ci/Dockerfile.checkout | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/ci/Dockerfile.checkout b/scripts/ci/Dockerfile.checkout index 5210c6b..8b9e052 100644 --- a/scripts/ci/Dockerfile.checkout +++ b/scripts/ci/Dockerfile.checkout @@ -5,8 +5,11 @@ RUN sed -i 's#deb http://deb.debian.org/debian stretch main#deb http://deb.debia RUN sed -i 's#deb http://deb.debian.org/debian stretch-updates main#deb http://deb.debian.org/debian stretch-updates main contrib#g' /etc/apt/sources.list RUN apt-get update -q && apt-get install -qy \ git \ - repo \ - xmlstarlet + xmlstarlet \ + python3 \ + repo + +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 # checkout script RUN mkdir /scripts -- cgit v1.2.3-54-g00ecf