tests/docker: update and flatten debian-hppa-cross

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 <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-10-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2022-09-14 16:59:29 +01:00
parent d9df358f53
commit 8b03418760
3 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,6 @@ hexagon-cross-container:
hppa-debian-cross-container: hppa-debian-cross-container:
extends: .container_job_template extends: .container_job_template
stage: containers stage: containers
needs: ['amd64-debian10-container']
variables: variables:
NAME: debian-hppa-cross NAME: debian-hppa-cross

View File

@ -88,7 +88,6 @@ DOCKER_PARTIAL_IMAGES += debian-s390x-cross
DOCKER_PARTIAL_IMAGES += fedora DOCKER_PARTIAL_IMAGES += fedora
endif endif
docker-image-debian-hppa-cross: docker-image-debian10
docker-image-debian-m68k-cross: docker-image-debian10 docker-image-debian-m68k-cross: docker-image-debian10
docker-image-debian-mips-cross: docker-image-debian10 docker-image-debian-mips-cross: docker-image-debian10
docker-image-debian-mips64-cross: docker-image-debian10 docker-image-debian-mips64-cross: docker-image-debian10

View File

@ -1,12 +1,14 @@
# #
# Docker cross-compiler target # 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 && \ RUN export DEBIAN_FRONTEND=noninteractive && \
DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get update && \
apt install -y --no-install-recommends \ apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
gcc-hppa-linux-gnu \ gcc-hppa-linux-gnu \
libc6-dev-hppa-cross libc6-dev-hppa-cross