Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2408 from sparklemotion/2397-support-ruby-3-1
ci: test coverage for ruby 3.1
- Loading branch information
Showing
8 changed files
with
107 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM ruby:3.1 | ||
|
||
# -*- dockerfile -*- | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y apt-utils | ||
|
||
|
||
# -*- dockerfile -*- | ||
|
||
RUN apt-get install -y valgrind | ||
|
||
|
||
# -*- dockerfile -*- | ||
|
||
RUN apt-get install -y libxslt-dev libxml2-dev zlib1g-dev pkg-config | ||
|
||
|
||
# -*- dockerfile -*- | ||
|
||
RUN gem install bundler | ||
|
||
|
||
# -*- dockerfile -*- | ||
|
||
COPY Gemfile nokogiri/ | ||
COPY Gemfile.lock nokogiri/ | ||
COPY nokogiri.gemspec nokogiri/ | ||
|
||
RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" nokogiri/Gemfile.lock | tail -n 1)" | ||
RUN cd nokogiri && bundle install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters