Skip to content

Commit 310dc0f

Browse files
authored
Merge pull request #68110 from aireilly/update-dockerfile
Copy src in Dockerfile
2 parents d0bbf57 + b83223b commit 310dc0f

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

asciibinder.Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM registry.access.redhat.com/ubi8/ruby-27 AS ruby
22

3+
COPY . /src/
4+
5+
WORKDIR /src
6+
37
ENV LANG=en_US.UTF-8
48

59
USER root
@@ -8,6 +12,4 @@ RUN gem install listen ascii_binder && yum clean all
812

913
RUN git config --system --add safe.directory '*'
1014

11-
WORKDIR /src
12-
1315
CMD ["/bin/bash"]

asciidoctor.Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
FROM registry.access.redhat.com/ubi8/ubi-minimal AS base
22

3+
COPY . /src/
4+
5+
WORKDIR /src
6+
37
RUN microdnf install -y git ruby which && microdnf clean all && rm -rf /var/cache/yum
48

59
RUN gem install asciidoctor asciidoctor-diagram
610

711
RUN git config --system --add safe.directory '*'
812

9-
WORKDIR /src
10-
1113
CMD ["/bin/bash"]

python-tools.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM registry.access.redhat.com/ubi8/ubi-minimal AS base
22

3-
RUN microdnf install -y git python39 python39-pip which && microdnf clean all && rm -rf /var/cache/yum
3+
COPY . /src/
44

55
WORKDIR /src
66

7-
RUN git config --system --add safe.directory '*'
8-
9-
COPY ./aura.tar.gz /src
7+
RUN microdnf install -y git python39 python39-pip which && microdnf clean all && rm -rf /var/cache/yum
108

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

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

0 commit comments

Comments
 (0)