Skip to content

Commit 47c592a

Browse files
[#1320] use alpine image
1 parent 4afcd63 commit 47c592a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Builder stage
12
FROM ruby:3.0.3-alpine AS builder
23

34
RUN apk --update add --no-cache \
@@ -29,13 +30,11 @@ COPY . .
2930

3031
RUN bundle exec rake install
3132

32-
# M-M-M-M-MULTISTAGE!!!
33-
FROM ruby:3.0.3 AS shell
33+
FROM ruby:3.0.3-alpine AS shell
3434

35-
RUN apt-get update && apt-get install -y \
36-
vim \
35+
RUN apk --update add --no-cache \
3736
bash \
38-
&& rm -rf /var/lib/apt/lists/*
37+
vim
3938

4039
WORKDIR /root/
4140

0 commit comments

Comments
 (0)