⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (739 Bytes)
Bug #12699
» Dockerfile
nicolasnoble (Nicolas Noble)
, 08/25/2016 12:48 AM
FROM
ubuntu:16.04
RUN
apt-get update
RUN
apt-get
-y
dist-upgrade
RUN
apt-get
-y
install
gcc make zlib1g-dev valgrind autoconf wget unzip patch libssl-dev
RUN
wget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz
RUN
tar
xvfz ruby-2.3.1.tar.gz
RUN
sed
-i
's,ubf_wakeup_all_threads();,// removed,'
ruby-2.3.1/thread_pthread.c
RUN
sed
-i
's,timer_thread_function(0);,// removed,'
ruby-2.3.1/thread_pthread.c
RUN
cd
ruby-2.3.1
&&
./configure
--with-valgrind
RUN
make
-C
ruby-2.3.1
-j
8
install
RUN
wget
'https://bugs.ruby-lang.org/attachments/download/6117/ruby-repro.zip'
RUN
unzip ruby-repro.zip
RUN
gem
install
bundler
RUN
bundler
install
CMD
["valgrind", "--max-stackframe=10485760", "--track-origins=yes", "ruby", "repro.rb"]
« Previous
1
2
Next »
(2-2/2)
Loading...