FROM ubuntu:18.04 RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ python3-dev python3-pip g++ doxygen dvipng latexmk \ cmake libjpeg8-dev zlib1g-dev texlive-latex-base \ texlive-latex-extra git latex-cjk-all texlive-lang-all \ graphviz python3-matplotlib wget unzip enchant locales RUN python3 -m pip install Sphinx breathe \ sphinx_bootstrap_theme awscli sphinxcontrib-bibtex \ sphinx_rtd_theme recommonmark sphinx-markdown-tables \ sphinxcontrib-spelling # Set the locale for spelling RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \ dpkg-reconfigure --frontend=noninteractive locales && \ update-locale LANG=en_GB.UTF-8 ENV LANG en_GB.UTF-8 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y curl flex bison && \ curl -LOs https://doxygen.nl/files/doxygen-1.9.1.src.tar.gz && \ tar xvzf doxygen-1.9.1.src.tar.gz && \ rm -rf doxygen-1.9.1.src.tar.gz && \ cd doxygen-1.9.1 && \ mkdir build && \ cd build && \ cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \ make -j$(nproc) && \ make install && \ cd ../.. && \ rm -rf doxygen-1.9.1