[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross
From: |
Alex Bennée |
Subject: |
[PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross |
Date: |
Fri, 26 Aug 2022 18:21:24 +0100 |
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.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.../docker/dockerfiles/debian-hexagon-cross.docker | 13 ++++++++++---
.../dockerfiles/debian-loongarch-cross.docker | 3 +--
2 files changed, 11 insertions(+), 5 deletions(-)
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
# Install common build utilities
RUN apt update && \
@@ -15,11 +15,18 @@ RUN apt update && \
DEBIAN_FRONTEND=noninteractive eatmydata \
apt install -y --no-install-recommends \
bison \
+ ca-certificates \
+ clang \
cmake \
flex \
+ gcc \
lld \
+ make \
+ ninja-build \
+ python3 \
rsync \
- wget
+ wget \
+ xz-utils
ENV TOOLCHAIN_INSTALL /usr/local
ENV ROOTFS /usr/local
@@ -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
# 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
--
2.30.2
- Re: [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 <=
[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