<commit_before>FROM centos/ruby-22-centos7

RUN scl enable rh-ruby22 -- gem install ascii_binder

WORKDIR /opt/app-root/src/docs
LABEL url http://www.asciibinder.org \
      summary a documentation system built on Asciidoctor \
      description AsciiBinder is for documenting versioned, interrelated projects. Run this container from the documentation repository, which is mounted into the container. You may need to run chmod 1001:1001 <asciidoc_repo_dir> \
      RUN docker run -it --rm \
          -v `pwd`:/opt/app-root/src/docs \
          IMAGE

ENV LANG=en_US.UTF-8
CMD asciibinder package<commit_msg>Install openjdk and run as root user<commit_after>FROM centos/ruby-22-centos7

RUN scl enable rh-ruby22 -- gem install ascii_binder
USER root
RUN yum install -y java-1.7.0-openjdk && \
    yum clean all

LABEL url http://www.asciibinder.org \
      summary a documentation system built on Asciidoctor \
      description AsciiBinder is for documenting versioned, interrelated projects. Run this container image from the documentation repository, which is mounted into the container. Note: Generated files will be owned by root. \
      RUN docker run -it --rm \
          -v `pwd`:/docs:z \
          IMAGE

ENV LANG=en_US.UTF-8
WORKDIR /docs
CMD asciibinder package
{'fraction_non_alphanumeric': 0.07215686274509804, 'fraction_numerical': 0.01803921568627451, 'mean_word_length': 3.1563517915309447, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7163018', 'n_tokens_mistral': 406, 'n_tokens_neox': 383, 'n_words': 142}