updated ruby to 3.1.4 to fix precompile GLIBC 2.33 not found

This commit is contained in:
Aaro Koivukangas
2023-11-11 21:06:41 +02:00
parent 7c87fcff57
commit d015f91402
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
3.1.2
3.1.4
+3 -3
View File
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.1.2
ARG RUBY_VERSION=3.1.4
FROM ruby:$RUBY_VERSION-slim as base
LABEL fly_launch_runtime="rails"
@@ -24,7 +24,7 @@ FROM base as build
# Install packages needed to build gems
RUN apt-get update -qq && \
apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config
apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config libc6
# Install application gems
COPY --link Gemfile Gemfile.lock ./
@@ -68,4 +68,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"]
# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD ["./bin/rails", "server"]
CMD ["./bin/rails", "server", "-e", "production"]
+1 -1
View File
@@ -1,7 +1,7 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.1.2"
ruby "3.1.4"
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.4"
+1 -1
View File
@@ -318,7 +318,7 @@ DEPENDENCIES
webdrivers
RUBY VERSION
ruby 3.1.2p20
ruby 3.1.4p223
BUNDLED WITH
2.4.13