Skip to content

Commit

Permalink
- Update docker base image to ruby 2.7
Browse files Browse the repository at this point in the history
- Add `ruby3-backward-compatibility` gem to provide compatibility layer to Ruby 3 projects
- Lock `ffi` gem to `1.16.3` to resolve Ruby `3.3.*` dependency error
  • Loading branch information
banjoko01 committed Jun 6, 2024
1 parent 98d62d9 commit 9ae0039
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2']
ruby-version: ['2.7']

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION=${RUBY_VERSION:-3.2}
ARG RUBY_VERSION=${RUBY_VERSION:-2.7}
FROM ruby:${RUBY_VERSION}-alpine

RUN apk --update add --no-cache build-base bash && \
Expand All @@ -7,8 +7,6 @@ RUN apk --update add --no-cache build-base bash && \
apk add --no-cache libxml2-dev && \
apk add --no-cache sqlite-dev

ARG BUNDLE_SAGEONEGEMS__JFROG__IO

ENV APP_HOME /usr/src/app/
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ git 'https://github.com/skiz/wasabi.git' do
end

gem 'akami', '1.3.2'
gem 'ffi', '1.16.3'
gem 'nokogiri', '1.15.6'
gem 'ruby3-backward-compatibility'

group :development, :test do
gem 'appraisal', '~> 0.4.1'
Expand Down

0 comments on commit 9ae0039

Please sign in to comment.