tests/docker: flatten debian-powerpc-test-cross
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-15-alex.bennee@linaro.org>
This commit is contained in:
parent
6ede0767ba
commit
0fd8f7a2df
@ -102,7 +102,6 @@ mipsel-debian-cross-container:
|
|||||||
powerpc-test-cross-container:
|
powerpc-test-cross-container:
|
||||||
extends: .container_job_template
|
extends: .container_job_template
|
||||||
stage: containers
|
stage: containers
|
||||||
needs: ['amd64-debian11-container']
|
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-powerpc-test-cross
|
NAME: debian-powerpc-test-cross
|
||||||
|
|
||||||
|
@ -137,7 +137,6 @@ docker-image-debian-all-test-cross: docker-image-debian10
|
|||||||
docker-image-debian-loongarch-cross: docker-image-debian11
|
docker-image-debian-loongarch-cross: docker-image-debian11
|
||||||
docker-image-debian-microblaze-cross: docker-image-debian10
|
docker-image-debian-microblaze-cross: docker-image-debian10
|
||||||
docker-image-debian-nios2-cross: docker-image-debian10
|
docker-image-debian-nios2-cross: docker-image-debian10
|
||||||
docker-image-debian-powerpc-test-cross: docker-image-debian11
|
|
||||||
docker-image-debian-riscv64-test-cross: docker-image-debian11
|
docker-image-debian-riscv64-test-cross: docker-image-debian11
|
||||||
|
|
||||||
# These images may be good enough for building tests but not for test builds
|
# These images may be good enough for building tests but not for test builds
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
#
|
#
|
||||||
# Docker powerpc/ppc64/ppc64le cross-compiler target
|
# Docker powerpc/ppc64/ppc64le cross-compiler target
|
||||||
#
|
#
|
||||||
# This docker target builds on the debian Bullseye base image.
|
# This docker target builds on the Debian Bullseye base image.
|
||||||
#
|
#
|
||||||
FROM qemu/debian11
|
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-powerpc-linux-gnu \
|
gcc-powerpc-linux-gnu \
|
||||||
libc6-dev-powerpc-cross \
|
libc6-dev-powerpc-cross \
|
||||||
gcc-10-powerpc64-linux-gnu \
|
gcc-10-powerpc64-linux-gnu \
|
||||||
|
Loading…
Reference in New Issue
Block a user