mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-26 14:46:16 +00:00
15ed658547
* removing due to deprecation * addressing docker build console issues, updating to latest LTS ubuntu, addressing Ubuntu + Python .venv requirements, standardizing environment * Update Dockerfile * proposed docker build changes * improving parallel build * removing * keep image open after build * updating based on feedback * update * fixed typo * revert --------- Co-authored-by: BuildTools <unconfigured@null.spigotmc.org> Co-authored-by: Parker <parker@runforyour.money>
28 lines
636 B
Docker
28 lines
636 B
Docker
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 \
|
|
pkg-config \
|
|
python3 \
|
|
python3-pip \
|
|
python3-venv \
|
|
git \
|
|
wget \
|
|
unzip \
|
|
clang-tidy \
|
|
clang-format \
|
|
libpng-dev && \
|
|
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
|