| 1 |
FROM registry.access.redhat.com/ubi8/ubi |
| 2 |
MAINTAINER CRC <[email protected]> |
| 3 |
|
| 4 |
RUN yum update -y && \ |
| 5 |
yum install --setopt=tsflags=nodocs -y \ |
| 6 |
ruby rubygems python38 && \ |
| 7 |
yum module install nodejs:14 -y && \ |
| 8 |
yum clean all && rm -rf /var/cache/yum/* |
| 9 |
|
| 10 |
RUN gem install asciidoctor && \ |
| 11 |
npm install -g asciidoc-link-check |
| 12 |
|
| 13 |
COPY entrypoint.sh /sbin/entrypoint.sh |
| 14 |
RUN chmod 755 /sbin/entrypoint.sh |
| 15 |
COPY asciidoc-link-check-config.json /asciidoc-link-check-config.json |
| 16 |
|
| 17 |
VOLUME /docs |
| 18 |
WORKDIR /docs |
| 19 |
|
| 20 |
USER root |
| 21 |
|
| 22 |
ENTRYPOINT [ "entrypoint.sh" ] |