Added build scripts.

This commit is contained in:
2023-11-12 13:20:38 +01:00
parent a6bb94ca24
commit 51db785fca
3 changed files with 111 additions and 0 deletions

13
build/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM debian:sid-slim
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install build-essential clang-16 gcc-13 g++-13 scons python3 \
python3-pip python-is-python3 clang-tidy git ninja-build cmake
RUN python -m pip install --no-cache-dir --break-system-packages GitPython
RUN ln -s /usr/bin/clang-16 /usr/local/bin/clang \
&& ln -s /usr/bin/clang++-16 /usr/local/bin/clang++ \
&& ln -s /usr/bin/clang-tidy-16 /usr/local/bin/clang-tidy \
&& ln -s /usr/bin/run-clang-tidy-16 /usr/local/bin/run-clang-tidy