-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (32 loc) · 995 Bytes
/
Dockerfile
File metadata and controls
41 lines (32 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM ubuntu:25.04
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get -y update
# tzdata
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
RUN apt-get install -y tzdata
# 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 bc
# 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 PATH="$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
# arduino
RUN curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
RUN arduino-cli core install arduino:avr
RUN apt-get install -y qemu-system-misc
# host-sdl
RUN apt-get install -y libsdl3-0 libsdl3-dev
# code coverage
RUN apt-get install -y gcovr