forked from redhataccess/ascii_binder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (16 loc) · 762 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM centos/ruby-22-centos7
RUN scl enable rh-ruby22 -- gem install listen -v 3.0.8
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 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