Update Dockerfile

This commit is contained in:
Justin Hammond 2024-07-28 12:37:37 +08:00 committed by GitHub
parent 7c7438b886
commit e6431e1a7f
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 bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison && \
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 debhelper rsync && \
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