-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4128 from rouault/proj-docs-update
Update proj-docs Docker image to Ubuntu 24.04
- Loading branch information
Showing
4 changed files
with
21 additions
and
19 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
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
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 |
---|---|---|
@@ -1,32 +1,24 @@ | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.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-2 locales | ||
|
||
RUN python3 -m pip install "Sphinx<7" breathe \ | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-venv | ||
ENV VIRTUAL_ENV=/opt/venv | ||
RUN python3 -m venv $VIRTUAL_ENV | ||
ENV PATH="$VIRTUAL_ENV/bin:$PATH" | ||
|
||
RUN python3 -m pip install Sphinx breathe \ | ||
sphinx_bootstrap_theme sphinxcontrib-bibtex \ | ||
sphinx_rtd_theme recommonmark sphinx-markdown-tables \ | ||
"sphinxcontrib-spelling!=7.4.0,<8" | ||
sphinxcontrib-spelling setuptools | ||
|
||
# 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.5.src.tar.gz && \ | ||
tar xvzf doxygen-1.9.5.src.tar.gz && \ | ||
rm -rf doxygen-1.9.5.src.tar.gz && \ | ||
cd doxygen-1.9.5 && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
make -j$(nproc) && \ | ||
make install && \ | ||
cd ../.. && \ | ||
rm -rf doxygen-1.9.5 |
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