[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cro
From: |
Thomas Huth |
Subject: |
Re: [PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross |
Date: |
Sat, 27 Aug 2022 07:45:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
On 26/08/2022 19.21, Alex Bennée wrote:
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile as we do not need anything from the base image to
build the toolchain.
You apparently need some stuff from the base image since you're adding gcc,
make and some other stuff here?
diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker
b/tests/docker/dockerfiles/debian-hexagon-cross.docker
index d5dc299dc1..822c108953 100644
--- a/tests/docker/dockerfiles/debian-hexagon-cross.docker
+++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker
@@ -7,7 +7,7 @@
# triggered by re-builds on other base images given it takes a long
# time to build.
#
-FROM qemu/debian10
+FROM docker.io/library/debian:bullseye-slim
debian:11-slim ?
...
@@ -32,7 +39,7 @@ ADD build-toolchain.sh
/root/hexagon-toolchain/build-toolchain.sh
RUN cd /root/hexagon-toolchain && ./build-toolchain.sh
-FROM debian:buster-slim
+FROM docker.io/library/debian:bullseye-slim
dito
# Duplicate deb line as deb-src
RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >>
/etc/apt/sources.list
# Install QEMU build deps for use in CI
diff --git a/tests/docker/dockerfiles/debian-loongarch-cross.docker
b/tests/docker/dockerfiles/debian-loongarch-cross.docker
index 48fe64c51b..ff6a5505be 100644
--- a/tests/docker/dockerfiles/debian-loongarch-cross.docker
+++ b/tests/docker/dockerfiles/debian-loongarch-cross.docker
@@ -1,8 +1,7 @@
#
# Docker cross-compiler target
#
-# This docker target builds on the debian11 base image,
-# using a prebuilt toolchains for LoongArch64 from:
+# This docker target uses prebuilt toolchains for LoongArch64 from:
# https://github.com/loongson/build-tools/releases
#
FROM docker.io/library/debian:bullseye-slim
The update to the comment looks unnecessary?
Thomas
- [PATCH v1 11/25] tests/docker: remove amd64 qemu/debian10 dependency, (continued)
- [PATCH v1 15/25] Deprecate 32 bit big-endian MIPS, Alex Bennée, 2022/08/26
- [PATCH v1 24/25] tests/docker: remove the Debian base images, Alex Bennée, 2022/08/26
- [PATCH v1 22/25] tests/docker: update and flatten debian-toolchain, Alex Bennée, 2022/08/26
- [PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross, Alex Bennée, 2022/08/26
- Re: [PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross,
Thomas Huth <=
- [PATCH v1 25/25] gitlab-ci: Only use one process in Windows jobs for compilation, Alex Bennée, 2022/08/26
- [PATCH v1 20/25] tests/docker: update and flatten debian-loongarch-cross, Alex Bennée, 2022/08/26
- [PATCH v1 19/25] tests/docker: update and flatten debian-amd64-cross, Alex Bennée, 2022/08/26
- [PATCH v1 23/25] tests/docker: remove FROM qemu/ support from docker.py, Alex Bennée, 2022/08/26
- [PATCH v1 16/25] tests/docker: flatten debian-riscv64-test-cross, Alex Bennée, 2022/08/26