Skip to content

Commit 17b58b8

Browse files
committed
Use ci registry images only
1 parent 98ba21b commit 17b58b8

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

asciibinder.Dockerfile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
FROM registry.access.redhat.com/ubi8/ruby-27
1+
FROM registry.ci.openshift.org/ocp/ubi-ruby-27:8
22

33
ENV LANG=en_US.UTF-8
44

55
USER root
66

7-
RUN gem install listen:3.0.8 ascii_binder && \
8-
yum clean all
7+
RUN gem install listen ascii_binder && yum clean all
98

10-
LABEL url="http://www.asciibinder.org" \
11-
summary="a documentation system built on Asciidoctor" \
12-
description="Run the asciibinder container image from the local docs repo, which is mounted into the container. Pass asciibinder commands to run the build. Generated files are owned by root." \
13-
RUN="docker run -it --rm \
14-
-v `pwd`:/src:z \
15-
IMAGE"
9+
WORKDIR /src
1610

17-
WORKDIR /src
11+
RUN git config --system --add safe.directory '*'
12+
13+
CMD ["/bin/bash"]

asciidoctor.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
1+
FROM registry.ci.openshift.org/ocp/ubi-minimal:8
22

33
WORKDIR /src
44

@@ -8,4 +8,4 @@ RUN gem install asciidoctor asciidoctor-diagram
88

99
RUN git config --system --add safe.directory '*'
1010

11-
CMD ["/bin/bash"]
11+
CMD ["/bin/bash"]

python-tools.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
1+
FROM registry.ci.openshift.org/ocp/ubi-minimal:8
22

33
WORKDIR /src
44

55
RUN microdnf install -y git python39 python39-pip which && microdnf clean all && rm -rf /var/cache/yum
66

77
COPY ./aura.tar.gz /src
88

9-
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel && pip install --no-cache-dir /src/aura.tar.gz
9+
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel pyyaml && pip install --no-cache-dir /src/aura.tar.gz
1010

1111
RUN git config --system --add safe.directory '*'
1212

13-
CMD ["/bin/bash"]
13+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)