Skip to content

Commit b3b4c85

Browse files
authored
Merge pull request #68044 from aireilly/update-dockerfile
Update dockerfile
2 parents 2f209df + bdc34f2 commit b3b4c85

File tree

4 files changed

+41
-27
lines changed

4 files changed

+41
-27
lines changed

Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

asciibinder.Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM ruby:3.1.2-alpine3.16 AS builder
2+
3+
RUN apk update && apk add --virtual build-dependencies build-base
4+
5+
RUN gem install listen ascii_binder
6+
7+
FROM ruby:3.1.2-alpine3.16
8+
9+
COPY --from=builder /usr/local/bundle /usr/local/bundle
10+
11+
RUN apk add --update --no-cache diffutils findutils git
12+
13+
RUN git config --system --add safe.directory '*'
14+
15+
WORKDIR /src
16+
17+
CMD ["/bin/sh"]

asciidoctor.Dockerfile

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

python-tools.Dockerfile

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

0 commit comments

Comments
 (0)