Update Dockerfile

This commit is contained in:
Justin Hammond 2024-07-28 15:38:53 +08:00 committed by GitHub
parent e6431e1a7f
commit 6fc0a42702
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
FROM riscv64/ubuntu:24.10 FROM riscv64/ubuntu:24.10
RUN apt update && \ RUN apt update && \
apt upgrade -y && \ 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 debhelper rsync && \ 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 zstd && \
sed -i -e 's/ports.ubuntu.com/mirror.sg.gs/g' /etc/apt/sources.list.d/ubuntu.sources && \ 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/* rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN echo 'root:riscv' | chpasswd RUN echo 'root:riscv' | chpasswd