Skip to contentSkip to conversation

tests/docker: Update the xtensa container to debian 10

PATCH New Philippe Mathieu-Daudé 1 participant 1 message Jan 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/docker: Update the xtensa container to debian 10

Align the Xtensa docker image with the other Debian-based ones.

---
 .gitlab-ci.d/containers.yml                         |  2 ++
 tests/docker/Makefile.include                       |  1 +
 tests/docker/dockerfiles/debian-xtensa-cross.docker | 12 +++---------
 3 files changed, 6 insertions(+), 9 deletions(-)
.gitlab-ci.d/containers.yml +2 -0
index 910754a699f..08bccd96901 100644
@@ -204,6 +204,8 @@ tricore-debian-cross-container:
 
 xtensa-debian-cross-container:
   <<: *container_job_definition
+  stage: containers-layer2
+  needs: ['amd64-debian10-container']
   variables:
     NAME: debian-xtensa-cross
 
tests/docker/Makefile.include +1 -0
index c254ac38d0a..464740533e9 100644
@@ -134,6 +134,7 @@ docker-image-travis: NOUSER=1
 
 # Specialist build images, sometimes very limited tools
 docker-image-debian-tricore-cross: docker-image-debian10
+docker-image-debian-xtensa-cross: docker-image-debian10
 docker-image-debian-all-test-cross: docker-image-debian10
 docker-image-debian-arm64-test-cross: docker-image-debian11
 
tests/docker/dockerfiles/debian-xtensa-cross.docker +3 -9
index ba4148299c5..f89f1d9e247 100644
@@ -1,22 +1,16 @@
 #
 # Docker cross-compiler target
 #
-# This docker target builds on the debian stretch base image,
+# This docker target builds on the debian Buster base image,
 # using a prebuilt toolchains for Xtensa cores from:
 # https://github.com/foss-xtensa/toolchain/releases
 #
-FROM debian:stretch-slim
+FROM qemu/debian10
 
 RUN apt-get update && \
-    DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
     DEBIAN_FRONTEND=noninteractive eatmydata \
     apt-get install -y --no-install-recommends \
-        build-essential \
-        ca-certificates \
-        curl \
-        gettext \
-        git \
-        python3-minimal
+        curl
 
 ENV CPU_LIST dc232b dc233c de233_fpu dsp3400
 ENV TOOLCHAIN_RELEASE 2020.07
Signature · 1 line
2.26.2