mirror of
https://github.com/boostorg/release-tools.git
synced 2026-01-19 16:52:08 +00:00
85 lines
3.4 KiB
Docker
85 lines
3.4 KiB
Docker
FROM ubuntu:bionic
|
|
LABEL maintainer="samuel.d.darwin@gmail.com"
|
|
|
|
WORKDIR /root
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
|
|
&& apt-get install -y \
|
|
p7zip-full \
|
|
curl \
|
|
docutils-common \
|
|
docutils-doc \
|
|
docbook \
|
|
docbook-xml \
|
|
docbook-xsl \
|
|
xsltproc \
|
|
openssh-client \
|
|
git \
|
|
graphviz \
|
|
texlive \
|
|
sshpass \
|
|
ghostscript \
|
|
unzip \
|
|
wget \
|
|
python3-pip \
|
|
ruby \
|
|
python3-docutils \
|
|
libsaxonhe-java \
|
|
cmake \
|
|
bison \
|
|
flex \
|
|
texlive-latex-extra \
|
|
default-jre-headless \
|
|
software-properties-common \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
vim \
|
|
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
|
&& dpkg-reconfigure --frontend=noninteractive locales \
|
|
&& update-locale LANG=en_US.UTF-8 \
|
|
&& curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg --output githubcli-archive-keyring.gpg \
|
|
&& gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg githubcli-archive-keyring.gpg \
|
|
&& rm githubcli-archive-keyring.gpg \
|
|
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list \
|
|
&& apt update \
|
|
&& apt install -y gh \
|
|
&& git clone -b 'Release_1_8_15' --depth 1 https://github.com/doxygen/doxygen.git \
|
|
&& cd doxygen \
|
|
&& cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \
|
|
&& cd build \
|
|
&& make install \
|
|
&& cd && rm -rf doxygen* \
|
|
&& wget -O saxonhe.zip https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/SaxonHE9-9-1-4J.zip/download \
|
|
&& unzip saxonhe.zip \
|
|
&& rm /usr/share/java/Saxon-HE.jar \
|
|
&& cp saxon9he.jar /usr/share/java/Saxon-HE.jar \
|
|
&& rm -r * \
|
|
&& mkdir build && cd build \
|
|
&& wget -O rapidxml.zip http://sourceforge.net/projects/rapidxml/files/latest/download \
|
|
&& unzip -n -d rapidxml rapidxml.zip \
|
|
&& pip3 install --user Jinja2==2.11.2 \
|
|
&& pip3 install --user MarkupSafe==1.1.1 \
|
|
&& echo "Sphinx==1.5.6" > constraints.txt \
|
|
&& pip3 install --user Sphinx==1.5.6 \
|
|
&& pip3 install --user sphinx-boost==0.0.3 \
|
|
&& pip3 install --user -c /root/build/constraints.txt git+https://github.com/rtfd/recommonmark@50be4978d7d91d0b8a69643c63450c8cd92d1212 \
|
|
&& wget -O docbook-xml.zip http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip \
|
|
&& unzip -n -d docbook-xml docbook-xml.zip \
|
|
&& wget -O docbook-xsl.zip https://sourceforge.net/projects/docbook/files/docbook-xsl/1.79.1/docbook-xsl-1.79.1.zip/download \
|
|
&& unzip -n -d docbook-xsl docbook-xsl.zip \
|
|
&& gem install asciidoctor --version 2.0.16 \
|
|
&& asciidoctor --version \
|
|
&& gem install rouge --version 3.26.1 \
|
|
&& gem install pygments.rb --version 2.1.0 \
|
|
&& pip3 install --user Pygments==2.2.0 \
|
|
&& pip3 install --user https://github.com/bfgroup/jam_pygments/archive/master.zip \
|
|
&& pip3 install --user future==0.18.2 \
|
|
&& pip3 install --user six==1.11.0 \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& apt-get clean -y
|
|
ENV LC_ALL en_US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US.UTF-8
|