-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dscano <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
9 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 |
---|---|---|
|
@@ -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"] | ||
|