FROM centos/ruby-23-centos7 RUN scl enable rh-ruby23 -- gem install listen -v 3.0.8 RUN scl enable rh-ruby23 -- gem install ascii_binder_gabriel_rh 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="AsciiBinderGabrielRH 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 JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95-2.6.4.0.el7_2.x86_64/jre/ ENV LANG=en_US.UTF-8 WORKDIR /docs CMD asciibinder package