This repository has been archived on 2024-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
2023-05-30 16:10:03 -04:00
|
|
|
FROM debian:bookworm
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y upgrade \
|
2023-06-02 16:02:45 -04:00
|
|
|
&& apt-get install -y make device-tree-compiler python3 \
|
|
|
|
adduser gcc-riscv64-linux-gnu \
|
2023-05-30 16:10:03 -04:00
|
|
|
&& adduser --quiet --disabled-password user
|
2023-06-02 16:02:45 -04:00
|
|
|
#RUN apt-get update \
|
|
|
|
# && apt-get -y upgrade \
|
|
|
|
# && apt-get install -y git wget python3 xz-utils bash verilator \
|
|
|
|
# m4 device-tree-compiler make gcc-riscv64-unknown-elf \
|
|
|
|
# && adduser --quiet --disabled-password user
|
2023-05-30 16:10:03 -04:00
|
|
|
|
|
|
|
USER user:user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
|
|
|
COPY --chown=user:user opensbi.tar.gz /home/user
|
|
|
|
RUN tar -xvf opensbi.tar.gz \
|
2023-06-02 16:02:45 -04:00
|
|
|
&& rm ~/opensbi.tar.gz
|