Skip to content

Commit

Permalink
remove rubygem version pin
Browse files Browse the repository at this point in the history
rubygem pin is not required for ruby v3.0+
  • Loading branch information
alexskr committed Mar 5, 2024
1 parent 66e14ec commit f52e2b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ COPY Gemfile* /srv/ontoportal/ontologies_api/

WORKDIR /srv/ontoportal/ontologies_api

# set rubygem and bundler to the last version supported by ruby 2.7
# remove version after ruby v3 upgrade
RUN gem update --system '3.4.22'
RUN gem install bundler -v 2.4.22
RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
RUN bundle install
Expand Down

0 comments on commit f52e2b4

Please sign in to comment.