Skip to content

Commit 8deb203

Browse files
committed
Remove Rails 5 workarounds
These where put in to support Rails 5 integration tests, which have been removed.
1 parent 4d72d59 commit 8deb203

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ FROM base as build
1212
RUN apt-get update -qq && \
1313
apt-get install --no-install-recommends -y build-essential curl git
1414

15-
# Install Nokigiri version that supports Ruby 2.7.8
16-
RUN gem install nokogiri -v 1.15.6
17-
1815
# add a newer version of Rubygems and Bundler
19-
RUN gem install bundler:2.3.22
20-
RUN gem update --system 3.3.22
16+
RUN gem update --system
17+
RUN gem install bundler
2118

2219
# Install Rails
2320
ARG RAILS_VERSION=7.1.3.2
@@ -31,9 +28,6 @@ WORKDIR mail-notify-integration
3128
# install the gems into the bundle
3229
RUN bundle install
3330

34-
# remove gems that will not work in Rails 5.2.8.1
35-
RUN if [ "${RAILS_VERSION}" = "5.2.8.1" ]; then bundle remove selenium-webdriver chromedriver-helper; fi
36-
3731
# Final stage for app image
3832
FROM base
3933

0 commit comments

Comments
 (0)