Skip to content

Commit

Permalink
Bump ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
top4ek committed May 8, 2024
1 parent 4ea7e9e commit 2ac32f8
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/shizoid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: 'Setup Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
ruby-version: 3.3.1
- name: "Install required system packages"
run: sudo apt-get update -y && sudo apt-get install openssh-client rsync libpq-dev cmake -y
- name: "Bundle install"
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.3.1
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM ruby:3.3.0-alpine
FROM ruby:3.3.1-alpine

EXPOSE 3000
WORKDIR /opt/app/src
ENV LANG ru_RU.utf8

RUN apk add --no-cache --update git build-base ca-certificates less postgresql-dev postgresql-client tzdata make libffi-dev libxml2 libxml2-dev libxslt-dev && \
cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
echo "Europe/Moscow" > /etc/timezone
cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
echo "Europe/Moscow" > /etc/timezone

ARG CONTAINER_GID=1000
ARG CONTAINER_UID=1000

RUN addgroup -g ${CONTAINER_GID} app && \
adduser --uid ${CONTAINER_UID} --disabled-password --ingroup app --home /opt/app app && \
chown -R app:app /opt/app && \
chmod -R 0775 /opt/app
adduser --uid ${CONTAINER_UID} --disabled-password --ingroup app --home /opt/app app && \
chown -R app:app /opt/app && \
chmod -R 0775 /opt/app

USER app:app

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.3.0'
ruby '3.3.1'

gem 'faraday'
gem 'pg'
Expand Down
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ GEM
guard (~> 2.0)
rubocop (< 2.0)
hashdiff (1.0.1)
i18n (1.14.4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
io-console (0.7.2)
Expand All @@ -184,13 +184,13 @@ GEM
net-pop
net-smtp
marcel (1.0.4)
method_source (1.0.0)
method_source (1.1.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
mini_portile2 (2.8.6)
minitest (5.22.3)
multipart-post (2.4.0)
nenv (0.3.0)
net-imap (0.4.10)
net-imap (0.4.11)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -199,8 +199,8 @@ GEM
timeout
net-smtp (0.5.0)
net-protocol
nio4r (2.7.1)
nokogiri (1.16.3)
nio4r (2.7.3)
nokogiri (1.16.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
notiffany (0.1.3)
Expand Down Expand Up @@ -253,7 +253,7 @@ GEM
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -415,7 +415,7 @@ DEPENDENCIES
webmock

RUBY VERSION
ruby 3.3.0p0
ruby 3.3.1p55

BUNDLED WITH
2.5.5
6 changes: 3 additions & 3 deletions config/deploy/Containerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM docker.io/ruby:3.3.0-alpine
FROM docker.io/ruby:3.3.1-alpine
EXPOSE 3000
WORKDIR /opt/app/src
ENV LANG ru_RU.utf8

RUN apk add --no-cache --update git build-base ca-certificates less postgresql-dev postgresql-client tzdata make libffi-dev libxml2 libxml2-dev libxslt-dev && \
cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
echo "Europe/Moscow" > /etc/timezone
cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
echo "Europe/Moscow" > /etc/timezone

ADD Gemfile Gemfile.lock /opt/app/src/
RUN bundle config without production && bundle install --retry=3 --jobs 20
Expand Down

0 comments on commit 2ac32f8

Please sign in to comment.