-
-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext: add Ruby 3.4 to the precompiled native gems
- Loading branch information
1 parent
ca8a4e6
commit 23b8d11
Showing
6 changed files
with
75 additions
and
14 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,46 @@ | ||
FROM ruby:3.4 | ||
|
||
# include_file debian-prelude.step | ||
# -*- dockerfile -*- | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y apt-utils | ||
|
||
|
||
# include_file valgrind-from-source.step | ||
# -*- dockerfile -*- | ||
|
||
RUN apt-get install -y libc6-dbg | ||
RUN wget https://sourceware.org/pub/valgrind/valgrind-3.21.0.tar.bz2 && \ | ||
tar -xf valgrind-3.21.0.tar.bz2 && \ | ||
cd valgrind-3.21.0 && \ | ||
./configure && \ | ||
make && \ | ||
make install | ||
|
||
|
||
# include_file debian-libxml-et-al.step | ||
# -*- dockerfile -*- | ||
|
||
RUN apt-get install -y libxslt-dev libxml2-dev zlib1g-dev pkg-config | ||
RUN apt-get install -y libyaml-dev # for psych 5 | ||
|
||
|
||
# include_file update-bundler.step | ||
# -*- dockerfile -*- | ||
|
||
RUN gem install bundler | ||
|
||
|
||
# include_file bundle-install.step | ||
# -*- 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 | ||
|