From 58667f7f496157658fb106e92cb559aeec8d06e1 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 19 Nov 2022 13:47:07 +0100 Subject: [PATCH] Cleanup the image --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d09f0bb..7411421 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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" \