-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use custom Docker image for building documentation for gh-pages
- Loading branch information
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:latest | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update -y --fix-missing | ||
RUN apt-get upgrade -y | ||
|
||
# Build dependencies | ||
RUN apt-get install git gcc curl ca-certificates cmake wget gnupg lsb-release build-essential -y | ||
|
||
# Doxygen dependencies | ||
RUN apt-get install flex bison graphviz texlive-full -y | ||
|
||
RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh | ||
|
||
# install Doxygen (newer versions that available in the package repositories) | ||
ARG DOXYGEN_VERSION=1.12.0 | ||
RUN wget https://www.doxygen.nl/files/doxygen-$DOXYGEN_VERSION.src.tar.gz && \ | ||
tar -xzf doxygen-$DOXYGEN_VERSION.src.tar.gz && \ | ||
cd doxygen-$DOXYGEN_VERSION && \ | ||
mkdir build && cd build && cmake -G "Unix Makefiles" .. && \ | ||
make -j && make install | ||
|
||
# install cmake | ||
ARG CMAKE_VERSION=3.28.3 | ||
RUN wget https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh && \ | ||
sh ./cmake-$CMAKE_VERSION-linux-x86_64.sh --skip-license --prefix=/usr/local && \ | ||
rm cmake-$CMAKE_VERSION-linux-x86_64.sh | ||
|
||
# Formatting dependencies | ||
RUN apt-get install clang-format cmake-format -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters