From 1063ecb2dcad8fa766bd2723eec939de05be45e9 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Mon, 19 Aug 2024 15:47:43 +0100 Subject: [PATCH] feat(docker): add qemu-riscv32-virt build to Dockerfile Signed-off-by: Jose Martins --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5cbb184..71e3dbd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -83,9 +83,9 @@ RUN mkdir /opt/aarch64-toolchain && curl $AARCH64_TOOLCHAIN_LINK | tar xJ -C /op # Add generic non-root user RUN addgroup bao && adduser -disabled-password --ingroup bao bao -# Add qemu-riscv64-virt +# Add qemu-riscv64-virt and qemu-riscv32-virt RUN git clone https://github.com/qemu/qemu.git /opt/qemu-riscv64-virt --depth 1 --branch v7.2.0 && \ - cd /opt/qemu-riscv64-virt/ && ./configure --target-list=riscv64-softmmu --enable-slirp && \ + cd /opt/qemu-riscv64-virt/ && ./configure --target-list=riscv32-softmmu,riscv64-softmmu --enable-slirp && \ make -j$(nproc) && \ make install