mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-30 00:12:41 +00:00
tests/docker: update and flatten debian-loongarch-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. In this case it is a binary distribution of the toolchain anyway. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220914155950.804707-27-alex.bennee@linaro.org>
This commit is contained in:
parent
cd150e19e8
commit
35782a1b9a
@ -128,7 +128,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \
|
||||
$(call debian-toolchain, $@)
|
||||
|
||||
# Specialist build images, sometimes very limited tools
|
||||
docker-image-debian-loongarch-cross: docker-image-debian11
|
||||
docker-image-debian-microblaze-cross: docker-image-debian10
|
||||
docker-image-debian-nios2-cross: docker-image-debian10
|
||||
|
||||
|
@ -1,11 +1,13 @@
|
||||
#
|
||||
# Docker cross-compiler target
|
||||
#
|
||||
# This docker target builds on the debian11 base image,
|
||||
# using a prebuilt toolchains for LoongArch64 from:
|
||||
# This docker target uses prebuilt toolchains for LoongArch64 from:
|
||||
# https://github.com/loongson/build-tools/releases
|
||||
#
|
||||
FROM qemu/debian11
|
||||
FROM docker.io/library/debian:11-slim
|
||||
|
||||
# Duplicate deb line as deb-src
|
||||
RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user