We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4afcd63 commit 47c592aCopy full SHA for 47c592a
Dockerfile
@@ -1,3 +1,4 @@
1
+# Builder stage
2
FROM ruby:3.0.3-alpine AS builder
3
4
RUN apk --update add --no-cache \
@@ -29,13 +30,11 @@ COPY . .
29
30
31
RUN bundle exec rake install
32
-# M-M-M-M-MULTISTAGE!!!
33
-FROM ruby:3.0.3 AS shell
+FROM ruby:3.0.3-alpine AS shell
34
35
-RUN apt-get update && apt-get install -y \
36
- vim \
+RUN apk --update add --no-cache \
37
bash \
38
- && rm -rf /var/lib/apt/lists/*
+ vim
39
40
WORKDIR /root/
41
0 commit comments