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