rvimage/Dockerfile

9 lines
436 B
Text
Raw Permalink Normal View History

2024-07-27 01:34:14 +08:00
FROM riscv64/ubuntu:24.10
2024-07-28 10:55:08 +08:00
RUN apt update && \
apt upgrade -y && \
2024-07-28 15:38:53 +08:00
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 && \
2024-07-28 10:56:05 +08:00
sed -i -e 's/ports.ubuntu.com/mirror.sg.gs/g' /etc/apt/sources.list.d/ubuntu.sources && \
2024-07-28 10:55:08 +08:00
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
2024-07-27 01:34:14 +08:00
RUN echo 'root:riscv' | chpasswd
2024-07-28 10:55:08 +08:00