Skip to content

Commit

Permalink
fix Dockerfile.asciidoc
Browse files Browse the repository at this point in the history
Signed-off-by: Dscano <[email protected]>
  • Loading branch information
Dscano committed Dec 24, 2024
1 parent c0e0239 commit 25118c6
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions docs/tools/Dockerfile.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,27 @@ LABEL maintainer="P4 API Working Group <[email protected]>"
LABEL description="Dockerfile used for building the asciidoc specification"

RUN apt-get update && \
apt-get install -y cmake flex bison libglib2.0-dev libcairo2-dev libpango1.0-dev libxml2-dev libwebp-dev libzstd-dev libgdk-pixbuf-2.0-dev
apt-get install -y cmake flex bison libglib2.0-dev libcairo2-dev libpango1.0-dev libxml2-dev libwebp-dev libzstd-dev libgdk-pixbuf-2.0-dev git

RUN gem install asciidoctor \
gem install asciidoctor-pdf \
gem install asciidoctor-mathematical \
gem install asciidoctor-bibtex\
gem install asciidoctor-lists\
RUN gem install asciidoctor && \
echo 'gem: --no-document' > /etc/gemrc && \
gem install nokogiri && \
gem install rghost && \
gem install asciidoctor-diagram && \
gem install asciidoctor-plantuml && \
gem install asciidoctor-pdf --version 2.3.18 && \
gem install asciidoctor-pdf-cjk && \
gem install asciidoctor-lists --version 1.1.2 && \
gem install coderay pygments.rb thread_safe && \
gem install slim && \
gem install concurrent-ruby && \
gem install haml tilt && \
gem install asciidoctor-mathematical && \
gem install asciidoctor-bibtex &&\
git clone https://github.com/rouge-ruby/rouge &&\
cd rouge \
git log -n 1 | cat \
gem build rouge.gemspec \
cd rouge && \
git log -n 1 | cat && \
gem build rouge.gemspec && \
gem install rouge

VOLUME ["/usr/src/p4-spec"]
Expand Down

0 comments on commit 25118c6

Please sign in to comment.