From 7f0b835031e11bb9d1d2fa1aa2ecb3c788edb295 Mon Sep 17 00:00:00 2001 From: Oleh Avramenko Date: Fri, 9 Jul 2021 11:45:18 +0300 Subject: Fix repo error Signed-off-by: Oleh Avramenko --- 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 6bfd9e3..b5619c9 100644 --- a/scripts/ci/Dockerfile.checkout +++ b/scripts/ci/Dockerfile.checkout @@ -6,10 +6,13 @@ RUN sed -i 's#deb http://deb.debian.org/debian buster-updates main#deb http://de RUN apt-get update -q && apt-get install -qy \ git \ python3 \ - repo \ + curl \ xmlstarlet -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 +# Install repo +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 && \ + curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo && \ + chmod a+x /usr/bin/repo # checkout script RUN mkdir /scripts -- cgit v1.2.3-54-g00ecf