diff --git a/docs/tools/Dockerfile.asciidoc b/docs/tools/Dockerfile.asciidoc index 7d6da482..b45aed5c 100644 --- a/docs/tools/Dockerfile.asciidoc +++ b/docs/tools/Dockerfile.asciidoc @@ -3,17 +3,27 @@ LABEL maintainer="P4 API Working Group " 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"]