Skip to content

Commit

Permalink
feat(docker): add qemu-riscv32-virt build to Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Martins <[email protected]>
  • Loading branch information
josecm authored and danielRep committed Aug 21, 2024
1 parent 20550e1 commit 1063ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1063ecb

Please sign in to comment.