mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Add Dockerfile
This commit is contained in:
parent
da7f70c456
commit
c8cb3ed106
1 changed files with 24 additions and 0 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
FROM ubuntu:25.04
|
||||
ENV LANG C.UTF-8
|
||||
ENV LC_ALL C.UTF-8
|
||||
RUN apt-get -y update
|
||||
|
||||
# for unity test
|
||||
RUN apt-get install -y ruby xxd
|
||||
|
||||
# risc-v cross compiler
|
||||
RUN apt-get install -y gcc-riscv64-unknown-elf build-essential
|
||||
|
||||
# zig
|
||||
RUN apt-get install -y curl
|
||||
RUN curl https://raw.githubusercontent.com/tristanisham/zvm/master/install.sh | bash
|
||||
ENV ZVM_INSTALL /root/.zvm/self
|
||||
ENV PATH="$PATH:/root/.zvm/bin:/root/.zvm/self"
|
||||
ENV export PATH="$/.zvm/bin"
|
||||
RUN zvm i 0.15.2
|
||||
|
||||
# rust
|
||||
RUN apt-get install -y rustup libclang1
|
||||
RUN rustup default stable
|
||||
RUN rustup target add riscv32im-unknown-none-elf
|
||||
RUN apt-get install -y libclang1
|
||||
Loading…
Add table
Add a link
Reference in a new issue