Added docker configuration

This commit is contained in:
shrukan
2022-12-23 15:05:26 -08:00
parent 46393ea423
commit b9fa8b7479
2 changed files with 51 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM gcc:12
# Install build tools
RUN apt-get update && apt-get install -y python3 ninja-build python3-pip gdb graphviz git
RUN pip install meson gcovr
# The version of doxy in the Debian repos is too old to support concepts, so we grab the latest release and manually install
RUN wget https://www.doxygen.nl/files/doxygen-1.9.5.linux.bin.tar.gz && \
tar -xzf doxygen-1.9.5.linux.bin.tar.gz && \
cd doxygen-1.9.5 && \
make install && \
cd .. && \
rm -r doxygen-1.9.5.linux.bin.tar.gz && \
rm -r doxygen-1.9.5
WORKDIR /usr/src/app