[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 22/30] tests/docker: flatten debian-riscv64-test-cross
From: |
Alex Bennée |
Subject: |
[PATCH v2 22/30] tests/docker: flatten debian-riscv64-test-cross |
Date: |
Wed, 14 Sep 2022 16:59:42 +0100 |
Flatten into a single dockerfile and update to match the rest of the
test cross compile dockerfiles.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220826172128.353798-17-alex.bennee@linaro.org>
---
v2
- minor reword of commit msg
---
.gitlab-ci.d/container-cross.yml | 1 -
tests/docker/Makefile.include | 1 -
.../dockerfiles/debian-riscv64-test-cross.docker | 10 ++++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml
index 95d57e1c5d..3a8bd75473 100644
--- a/.gitlab-ci.d/container-cross.yml
+++ b/.gitlab-ci.d/container-cross.yml
@@ -122,7 +122,6 @@ riscv64-debian-cross-container:
riscv64-debian-test-cross-container:
extends: .container_job_template
stage: containers
- needs: ['amd64-debian11-container']
variables:
NAME: debian-riscv64-test-cross
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index b1bf56434f..24cd44e667 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -133,7 +133,6 @@ docker-image-debian-all-test-cross: docker-image-debian10
docker-image-debian-loongarch-cross: docker-image-debian11
docker-image-debian-microblaze-cross: docker-image-debian10
docker-image-debian-nios2-cross: docker-image-debian10
-docker-image-debian-riscv64-test-cross: docker-image-debian11
# These images may be good enough for building tests but not for test builds
DOCKER_PARTIAL_IMAGES += debian-alpha-cross
diff --git a/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
b/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
index 1d90901298..e5f83a5aeb 100644
--- a/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
+++ b/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
@@ -3,10 +3,12 @@
#
# This docker target builds on the Debian Bullseye base image.
#
-FROM qemu/debian11
+FROM docker.io/library/debian:11-slim
-RUN apt update && \
- DEBIAN_FRONTEND=noninteractive eatmydata \
- apt install -y --no-install-recommends \
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
gcc-riscv64-linux-gnu \
libc6-dev-riscv64-cross
--
2.34.1
- [PATCH v2 15/30] tests/docker: remove tricore qemu/debian10 dependency, (continued)
- [PATCH v2 15/30] tests/docker: remove tricore qemu/debian10 dependency, Alex Bennée, 2022/09/14
- [PATCH v2 19/30] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64, Alex Bennée, 2022/09/14
- [PATCH v2 27/30] tests/docker: update and flatten debian-hexagon-cross, Alex Bennée, 2022/09/14
- [PATCH v2 17/30] tests/vm: Remove obsolete Fedora VM test, Alex Bennée, 2022/09/14
- [PATCH v2 29/30] tests/docker: remove FROM qemu/ support from docker.py, Alex Bennée, 2022/09/14
- [PATCH v2 11/30] tests/docker: update and flatten debian-mips64-cross, Alex Bennée, 2022/09/14
- [PATCH v2 22/30] tests/docker: flatten debian-riscv64-test-cross,
Alex Bennée <=
- [PATCH v2 25/30] tests/docker: update and flatten debian-amd64-cross, Alex Bennée, 2022/09/14
- [PATCH v2 26/30] tests/docker: update and flatten debian-loongarch-cross, Alex Bennée, 2022/09/14
- [PATCH v2 28/30] tests/docker: update and flatten debian-toolchain, Alex Bennée, 2022/09/14
- [PATCH v2 18/30] configure: explicitly set cflags for --disable-pie, Alex Bennée, 2022/09/14
- [PATCH v2 24/30] tests/lcitool: bump to latest version, Alex Bennée, 2022/09/14
- [PATCH v2 20/30] gitlab-ci: update aarch32/aarch64 custom runner jobs, Alex Bennée, 2022/09/14