summaryrefslogtreecommitdiff
path: root/_ci/Containerfile.alpine
diff options
context:
space:
mode:
Diffstat (limited to '_ci/Containerfile.alpine')
-rw-r--r--_ci/Containerfile.alpine2
1 files changed, 1 insertions, 1 deletions
diff --git a/_ci/Containerfile.alpine b/_ci/Containerfile.alpine
index dbef281..a5aa619 100644
--- a/_ci/Containerfile.alpine
+++ b/_ci/Containerfile.alpine
@@ -2,7 +2,7 @@ FROM docker.io/library/ruby:3.3-alpine3.23 AS builder
WORKDIR /srv/jekyll
RUN apk update && apk add --no-cache alpine-sdk && rm -rf /var/cache/apk/*
COPY Gemfile* ./
-RUN bundle install
+RUN bundle install && rm -rf /usr/local/bundle/cache
FROM docker.io/library/ruby:3.3-alpine3.23
RUN apk update && apk add --no-cache git libstdc++ && rm -rf /var/cache/apk/*