qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]