Skip to content

Commit

Permalink
Cleanup the image
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Nov 19, 2022
1 parent ae3042a commit 58667f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ COPY Gemfile ./

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

# Metadata
LABEL org.label-schema.vendor="Sudo-Bot" \
Expand Down

0 comments on commit 58667f7

Please sign in to comment.