Skip to content

Commit

Permalink
Merge pull request #709 from evemonk/update-rubygems-and-bundler
Browse files Browse the repository at this point in the history
Update rubygems and bundler
  • Loading branch information
biow0lf authored Dec 23, 2023
2 parents 74e2d4d + 997a9ea commit 3831145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# syntax = docker/dockerfile:1

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.2.2
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
FROM registry.docker.com/library/ruby:3.2.2-slim as base

LABEL maintainer="Igor Zubkov <[email protected]>"

Expand All @@ -19,8 +15,8 @@ ENV RAILS_ENV="production" \
RUBY_YJIT_ENABLE="1"

RUN set -eux; \
gem update --system "3.5.1" ; \
gem install bundler --version "2.5.1" --force ; \
gem update --system "3.5.3" ; \
gem install bundler --version "2.5.3" --force ; \
gem --version ; \
bundle --version

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,4 @@ RUBY VERSION
ruby 3.2.2p53

BUNDLED WITH
2.5.1
2.5.3

0 comments on commit 3831145

Please sign in to comment.