Update Dockerfile

This commit is contained in:
Justin Hammond 2024-07-28 12:32:22 +08:00 committed by GitHub
parent a30f90e711
commit 7c7438b886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
FROM riscv64/ubuntu:24.10
RUN apt update && \
apt upgrade -y && \
apt install -y build-essential cargo golang cmake meson git curl wget joe mc bison flex && \
apt install -y build-essential cargo golang cmake meson git curl wget joe mc bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison && \
sed -i -e 's/ports.ubuntu.com/mirror.sg.gs/g' /etc/apt/sources.list.d/ubuntu.sources && \
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN echo 'root:riscv' | chpasswd