We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d6b66 commit 18a2e96Copy full SHA for 18a2e96
Dockerfile
@@ -1,11 +1,13 @@
1
-FROM registry.access.redhat.com/ubi8/ruby-27 AS ruby
+FROM ruby:3.1.2-alpine AS builder
2
3
-USER root
+RUN apk update && apk add --virtual build-dependencies build-base
4
5
-ENV LANG=en_US.UTF-8
+RUN gem install listen asciidoctor asciidoctor-diagram ascii_binder
6
7
-RUN gem install listen ascii_binder && yum clean all
+FROM ruby:3.1.2-alpine
8
9
-RUN git config --system --add safe.directory '*'
+COPY --from=builder /usr/local/bundle /usr/local/bundle
10
+
11
+RUN apk add --update --no-cache git bash
12
13
CMD ["/bin/bash"]
0 commit comments