Skip to content

Commit 58667f7

Browse files
committed
Cleanup the image
1 parent ae3042a commit 58667f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ COPY Gemfile ./
1313

1414
RUN apk add --update --no-cache openssh-client make ruby-dev gcc musl-dev && \
1515
gem install bundler --user-install && \
16-
bundle install && \
17-
apk del gcc make musl-dev ruby-dev
16+
bundle install --no-cache && \
17+
apk del gcc make musl-dev ruby-dev && \
18+
rm -rf /usr/local/bundle/cache /root/.bundle
1819

1920
# Metadata
2021
LABEL org.label-schema.vendor="Sudo-Bot" \

0 commit comments

Comments
 (0)