anchor.diff:    && gem install --no-ri --no-rdoc asciidoctor-revealjs \
     && mkdir $BACKENDS \
     && (curl -LkSs https://api.github.com/repos/asciidoctor/asciidoctor-backends/tarball | tar xfz - -C $BACKENDS --strip-components=1) \
  -  && wget https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py -O - | python \
  +  && wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python \
     && easy_install "blockdiag[pdf]" \
     && easy_install seqdiag \
     && easy_install actdiag \
  
positive.code: FROM android/ruby
  
  ENV DEBIAN_FRONTEND noninteractive
  
  ENV PATH $PATH:$JAVA_HOME/bin:/fopub/bin
  ENV BACKENDS /asciidoctor-backends
  ENV GVM_AUTO_ANSWER true
  ENV ASCIIDOCTOR_VERSION "1.5.5"
  
  RUN apt-get update && apt-get install -y --no-install-recommends \
  		python-setuptools \
          python-dev \
          zip \
          unzip \
  	&& rm -rf /var/lib/apt/lists/*
  
  
  
  # Install dependencies
  RUN  mkdir /fopub \
    && curl -L https://api.github.com/repos/asciidoctor/asciidoctor-fopub/tarball | tar xzf - -C /fopub/ --strip-components=1 \
    && touch /tmp/empty.xml \
    && fopub /tmp/empty.xml \
  
negative.code:   && gem install --no-ri --no-rdoc rake \
    && gem install --no-ri --no-rdoc epubcheck --version 3.0.1 \
    && gem install --no-ri --no-rdoc kindlegen --version 3.0.1 \
    && gem install --no-ri --no-rdoc asciidoctor-pdf --version 1.5.0.alpha.15 \
    && gem install --no-ri --no-rdoc asciidoctor-confluence \
    && gem install --no-ri --no-rdoc rouge coderay pygments.rb thread_safe epubcheck kindlegen \
    && gem install --no-ri --no-rdoc slim \
  