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