diff options
Diffstat (limited to '_ci')
| -rw-r--r-- | _ci/Containerfile | 2 | ||||
| -rw-r--r-- | _ci/Containerfile.alpine | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_ci/Containerfile b/_ci/Containerfile index 2621a03..f5d88b4 100644 --- a/_ci/Containerfile +++ b/_ci/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/library/ruby:3.3 AS builder WORKDIR /srv/jekyll COPY Gemfile* ./ -RUN bundle install +RUN bundle install && rm -rf /usr/local/bundle/cache FROM docker.io/library/ruby:3.3-slim RUN apt-get update && apt-get install --no-install-recommends -y git && apt-get clean && rm -rf /var/lib/apt/lists/* 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/* |
