Skip to content

Commit 6a4c674

Browse files
committed
init changes
1 parent 572d5b9 commit 6a4c674

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# openshift-build-tools
1+
# openshift-build-tools
2+
3+
Dockerfiles to validate and build openshift-docs AsciiDoc.

asciibinder.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM registry.access.redhat.com/ubi8/ruby-27 AS ruby
2+
USER root
3+
ENV LANG=en_US.UTF-8
4+
RUN gem install listen ascii_binder && yum clean all
5+
RUN git config --system --add safe.directory '*'
6+
CMD ["/bin/bash"]

asciidoctor.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal AS base
2+
USER root
3+
RUN microdnf install -y git ruby which && microdnf clean all && rm -rf /var/cache/yum
4+
RUN gem install asciidoctor asciidoctor-diagram rouge
5+
RUN git config --system --add safe.directory '*'
6+
CMD ["/bin/bash"]

python.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal AS base
2+
USER root
3+
COPY ./aura.tar.gz /
4+
RUN microdnf install -y git python39 python39-pip which && microdnf clean all && rm -rf /var/cache/yum
5+
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel pyyaml lxml requests && pip install --no-cache-dir /aura.tar.gz
6+
RUN git config --system --add safe.directory '*'
7+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)