mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
updated ruby to 3.1.4 to fix precompile GLIBC 2.33 not found
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
3.1.2
|
||||
3.1.4
|
||||
|
||||
+3
-3
@@ -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,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
@@ -318,7 +318,7 @@ DEPENDENCIES
|
||||
webdrivers
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.1.2p20
|
||||
ruby 3.1.4p223
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.13
|
||||
|
||||
Reference in New Issue
Block a user