diff --git a/Dockerfile b/Dockerfile index 3739624..66ac2b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . . diff --git a/Gemfile.lock b/Gemfile.lock index f98c747..f983adc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -176,7 +176,7 @@ DEPENDENCIES sinatra-contrib (~> 4.2) RUBY VERSION - ruby 3.4.9p82 + ruby 4.0.9p0 BUNDLED WITH 2.7.2 diff --git a/flake.lock b/flake.lock index 25b0fc5..28a0c8b 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1777578337, - "narHash": "sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM+Z4=", + "lastModified": 1794386569, + "narHash": "sha256-x9sADJvoVG0L6RejZB+/BB4YiGZFBZrfTlhF4uBq1tQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "15f4ee454b1dce334612fa6843b3e05cf546efab", + "rev": "d4f25a3e562008648d45bcf2d70bcc7422cad84e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6f9c5ea..63ff4d5 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ { devShells.${system}.default = pkgs.mkShell { buildInputs = [ - pkgs.ruby_3_4 + pkgs.ruby_4_0 pkgs.bundler pkgs.openssl pkgs.zlib