Reapply "Ruby 4.0.9, in the image and the flake"

This reverts commit c56469f323.
This commit is contained in:
Sergei Poljanski 2026-11-13 03:52:57 +04:00
commit 8a53051c86
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -1,4 +1,4 @@
FROM ruby:3.4.12-slim-bookworm
FROM ruby:4.0.9-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
@ -17,7 +17,8 @@ ENV PATH="${GEM_HOME}/bin:${PATH}"
COPY --chown=asxpio Gemfile Gemfile.lock* ./
ENV BUNDLE_FROZEN=true
RUN bundle install --without development:test
ENV BUNDLE_WITHOUT=development:test
RUN bundle install
COPY --chown=asxpio . .