]> Git Repo - qemu.git/commitdiff
tests/docker: update and flatten debian-sparc64-cross
authorAlex Bennée <[email protected]>
Wed, 14 Sep 2022 15:59:33 +0000 (16:59 +0100)
committerAlex Bennée <[email protected]>
Tue, 20 Sep 2022 15:27:28 +0000 (16:27 +0100)
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <20220914155950[email protected]>

.gitlab-ci.d/container-cross.yml
tests/docker/Makefile.include
tests/docker/dockerfiles/debian-sparc64-cross.docker

index 8a611fc824b1b390f6a9e49de7ffbb86f8c66ce8..db0ea15d0dd94b7dcd145b707cd982ef3b044169 100644 (file)
@@ -143,7 +143,6 @@ sh4-debian-cross-container:
 sparc64-debian-cross-container:
   extends: .container_job_template
   stage: containers
-  needs: ['amd64-debian10-container']
   variables:
     NAME: debian-sparc64-cross
 
index 37c4ea913fec2c002bab6908dfe17ed41b750d0f..8828b6b8fa33b6bbc5373ba88668548493adaa04 100644 (file)
@@ -89,7 +89,6 @@ DOCKER_PARTIAL_IMAGES += fedora
 endif
 
 docker-image-debian-mips-cross: docker-image-debian10
-docker-image-debian-sparc64-cross: docker-image-debian10
 
 # The native build should never use the registry
 docker-image-debian-native: DOCKER_REGISTRY=
index f4bb9b561cfa915e14ff549448812f27a5dd3806..8d3d306bc1739338d43b2d023ab95ed8a58f6817 100644 (file)
@@ -1,12 +1,14 @@
 #
 # Docker cross-compiler target
 #
-# This docker target builds on the debian Buster base image.
+# This docker target builds on the Debian Bullseye base image.
 #
-FROM qemu/debian10
+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-sparc64-linux-gnu \
         libc6-dev-sparc64-cross
This page took 0.030768 seconds and 4 git commands to generate.