Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile to change deprecated links #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:latest

RUN apt-get update
RUN apt-get install -y qemu-system-misc opensbi u-boot-qemu
RUN apt-get install -y qemu-system-aarch64 qemu-efi
RUN apt-get install -y qemu-system-aarch64 qemu-efi-aarch64 qemu-efi-riscv64
RUN apt-get install -y wget xz-utils git build-essential libelf-dev ruby gdb sudo

#create new user
Expand All @@ -27,10 +27,10 @@ RUN echo "#!/bin/bash\n\nqemu-system-aarch64 -machine virt -cpu cortex-a57 -smp
RUN chown mambo run-qemu-arm64.sh

WORKDIR /home/mambo/riscv
RUN wget https://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/noble-preinstalled-server-riscv64.img.xz
RUN unxz noble-preinstalled-server-riscv64.img.xz
RUN qemu-img resize noble-preinstalled-server-riscv64.img +8G
RUN echo "#!/bin/bash\n\nqemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin -netdev user,id=net0 -device virtio-net-device,netdev=net0 -drive file=noble-preinstalled-server-riscv64.img,format=raw,if=virtio -device virtio-rng-pci\n" > run-qemu-riscv.sh
RUN wget https://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/oracular-preinstalled-server-riscv64.img.xz
RUN unxz oracular-preinstalled-server-riscv64.img.xz
RUN qemu-img resize oracular-preinstalled-server-riscv64.img +8G
RUN echo "#!/bin/bash\n\nqemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin -netdev user,id=net0 -device virtio-net-device,netdev=net0 -drive file=oracular-preinstalled-server-riscv64.img,format=raw,if=virtio -device virtio-rng-pci\n" > run-qemu-riscv.sh
RUN chown mambo run-qemu-riscv.sh


Expand Down