File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
- # Dockerfile
2
- FROM centos:8
3
- RUN dnf install git python3 python3-devel ruby rubygems -y
4
- RUN gem install asciidoctor asciidoctor-diagram
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 asciidoctor asciidoctor-diagram ascii_binder
6
+
7
+ FROM ruby:3.1.2-alpine3.16
8
+
9
+ COPY --from=builder /usr/local/bundle /usr/local/bundle
10
+
11
+ ENV PYTHONUNBUFFERED=1
12
+
13
+ RUN apk add --update --no-cache git bash python3 python3-dev && ln -sf python3 /usr/bin/python
14
+
15
+ RUN python3 -m ensurepip
16
+
17
+ RUN pip3 install --no-cache --upgrade pip setuptools
18
+
5
19
COPY . $HOME/src/
6
- RUN pip3 install pyyaml /src/aura.tar.gz
20
+
21
+ RUN pip3 install --no-cache-dir pyyaml /src/aura.tar.gz
You can’t perform that action at this time.
0 commit comments