summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 8f23b1df7f1ffc23fc8e678483e20317054b9b9c (plain)
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
FROM ubuntu:24.04 AS build

ENV TZ=UTC
ENV LANG=C.UTF-8

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
    apt-get update && \
    apt-get install -y \
        binutils-mips-linux-gnu \
        build-essential \
        python3 \
        python3-pip \
        python3-venv \
        git \
        curl \
        clang-tidy \
        clang-format \
     && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*


WORKDIR /oot
RUN git config --global --add safe.directory /oot

CMD make -j $(nproc) setup && make -j $(nproc) && tail -f /dev/null