diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-12-15 09:34:38 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2020-12-15 09:34:38 +0100 |
commit | 6ea7917e6d4edbae63016b1fc0c53cfd4225c632 (patch) | |
tree | d743f505b160a56bef3813ce5e2e31bcfd74a6b4 /scripts | |
parent | 14f693fc330812c289e2be24a338426f99e2a151 (diff) | |
download | meta-updater-fix/python3-for-repo.tar.gz |
Use python3 to get repo working again.fix/python3-for-repo
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 <patrickvacek@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ci/Dockerfile.checkout | 7 |
1 files 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 | |||
5 | 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 | 5 | 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 |
6 | RUN apt-get update -q && apt-get install -qy \ | 6 | RUN apt-get update -q && apt-get install -qy \ |
7 | git \ | 7 | git \ |
8 | repo \ | 8 | xmlstarlet \ |
9 | xmlstarlet | 9 | python3 \ |
10 | repo | ||
11 | |||
12 | RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 | ||
10 | 13 | ||
11 | # checkout script | 14 | # checkout script |
12 | RUN mkdir /scripts | 15 | RUN mkdir /scripts |