rake-compiler-dock 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Dockerfile +11 -6
- data/History.md +7 -1
- data/build/patches/{ruby-2.4.1 → ruby-2.4.3}/no_sendfile.patch +0 -0
- data/lib/rake_compiler_dock/version.rb +2 -2
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdb0d46b1452f0b84a8bf2571ccb6e2e32aeef74
|
4
|
+
data.tar.gz: c356e0c3806626af28430d699df1610a2dd7adc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd2964bfb1002c88272ea88d936257f2d00d2866e7eea688674de77571e398b566c2a053d0953ea477817e3d9cdc7106cc00a1b265ee39fe56fe1b0481b0d71f
|
7
|
+
data.tar.gz: 7faaa67c311a81a0ff5b0dc925b07128956471710e7f9bce13cc1b328ed9fcf69625064327db4f2ff64169f478c794cc4ab9148426012fda7c388ab9e963183a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Dockerfile
CHANGED
@@ -22,7 +22,7 @@ ENV BASH_ENV /etc/rubybashrc
|
|
22
22
|
# install rubies and fix permissions on
|
23
23
|
RUN bash -c " \
|
24
24
|
export CFLAGS='-s -O3 -fno-fast-math -fPIC' && \
|
25
|
-
for v in 2.4.
|
25
|
+
for v in 2.4.3 ; do \
|
26
26
|
rvm install \$v --patch \$(echo ~/patches/ruby-\$v/* | tr ' ' ','); \
|
27
27
|
done && \
|
28
28
|
rvm cleanup all && \
|
@@ -49,31 +49,36 @@ USER rvm
|
|
49
49
|
|
50
50
|
# Create dev tools i686-linux-gnu-*
|
51
51
|
COPY build/mk_i686.rb /root/
|
52
|
-
RUN bash -c "rvm use 2.4.
|
52
|
+
RUN bash -c "rvm use 2.4.3 --default && rvmsudo ruby /root/mk_i686.rb"
|
53
53
|
|
54
54
|
# Patch rake-compiler to build and install static libraries for Linux rubies
|
55
|
-
RUN cd /usr/local/rvm/gems/ruby-2.4.
|
55
|
+
RUN cd /usr/local/rvm/gems/ruby-2.4.3/gems/rake-compiler-1.0.4 && git apply /home/rvm/patches/rake-compiler-1.0.4/*.diff ;\
|
56
56
|
true
|
57
57
|
|
58
|
+
|
58
59
|
# Then build cross ruby versions
|
59
60
|
RUN bash -c " \
|
60
61
|
export CFLAGS='-s -O1 -fno-omit-frame-pointer -fno-fast-math' && \
|
61
|
-
parallel -
|
62
|
+
parallel -j6 -- \
|
63
|
+
'rake-compiler cross-ruby VERSION=2.5.0 HOST=i686-linux-gnu' \
|
62
64
|
'rake-compiler cross-ruby VERSION=2.4.0 HOST=i686-linux-gnu' \
|
63
65
|
'rake-compiler cross-ruby VERSION=2.3.0 HOST=i686-linux-gnu' \
|
64
66
|
'rake-compiler cross-ruby VERSION=2.2.2 HOST=i686-linux-gnu' \
|
65
67
|
'rake-compiler cross-ruby VERSION=2.1.6 HOST=i686-linux-gnu' \
|
66
68
|
'rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=i686-linux-gnu' \
|
69
|
+
'rake-compiler cross-ruby VERSION=2.5.0 HOST=x86_64-linux-gnu' \
|
67
70
|
'rake-compiler cross-ruby VERSION=2.4.0 HOST=x86_64-linux-gnu' \
|
68
71
|
'rake-compiler cross-ruby VERSION=2.3.0 HOST=x86_64-linux-gnu' \
|
69
72
|
'rake-compiler cross-ruby VERSION=2.2.2 HOST=x86_64-linux-gnu' \
|
70
73
|
'rake-compiler cross-ruby VERSION=2.1.6 HOST=x86_64-linux-gnu' \
|
71
74
|
'rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=x86_64-linux-gnu' \
|
75
|
+
'rake-compiler cross-ruby VERSION=2.5.0 HOST=i686-w64-mingw32' \
|
72
76
|
'rake-compiler cross-ruby VERSION=2.4.0 HOST=i686-w64-mingw32' \
|
73
77
|
'rake-compiler cross-ruby VERSION=2.3.0 HOST=i686-w64-mingw32' \
|
74
78
|
'rake-compiler cross-ruby VERSION=2.2.2 HOST=i686-w64-mingw32' \
|
75
79
|
'rake-compiler cross-ruby VERSION=2.1.6 HOST=i686-w64-mingw32' \
|
76
80
|
'rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=i686-w64-mingw32' \
|
81
|
+
'rake-compiler cross-ruby VERSION=2.5.0 HOST=x86_64-w64-mingw32' \
|
77
82
|
'rake-compiler cross-ruby VERSION=2.4.0 HOST=x86_64-w64-mingw32' \
|
78
83
|
'rake-compiler cross-ruby VERSION=2.3.0 HOST=x86_64-w64-mingw32' \
|
79
84
|
'rake-compiler cross-ruby VERSION=2.2.2 HOST=x86_64-w64-mingw32' \
|
@@ -93,7 +98,7 @@ RUN find /usr/local/rake-compiler/ruby/*linux*/ -name mkmf.rb | while read f ; d
|
|
93
98
|
RUN find /usr/local/rake-compiler/ruby/*mingw*/ -name rbconfig.rb | while read f ; do sed -i 's/."LDFLAGS". = "/&-static-libgcc /' $f ; done
|
94
99
|
|
95
100
|
RUN bash -c " \
|
96
|
-
rvm alias create 2.4 2.4.
|
101
|
+
rvm alias create 2.4 2.4.3 "
|
97
102
|
|
98
103
|
USER root
|
99
104
|
|
@@ -123,6 +128,6 @@ COPY build/runas /usr/local/bin/
|
|
123
128
|
# Install sudoers configuration
|
124
129
|
COPY build/sudoers /etc/sudoers.d/rake-compiler-dock
|
125
130
|
|
126
|
-
ENV RUBY_CC_VERSION 2.4.0:2.3.0:2.2.2:2.1.6:2.0.0
|
131
|
+
ENV RUBY_CC_VERSION 2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0
|
127
132
|
|
128
133
|
CMD bash
|
data/History.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2 / 2017-12-25
|
2
|
+
------------------
|
3
|
+
* Add ruby-2.5.0 cross ruby
|
4
|
+
* Update installed ruby version to 2.4.3
|
5
|
+
|
6
|
+
|
7
|
+
0.6.1 / 2017-06-03
|
2
8
|
------------------
|
3
9
|
* Update base image from Ubuntu-16.10 to 17.04
|
4
10
|
* Update perinstalled gems (this solves an version conflict between hoe and rake)
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-compiler-dock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Kanis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
Ao8FZozVJz8xVEuYNJsL2k70w0FiwXwoWyvKyekgPBvYNUj4JGDMtBBayJTOpDs7
|
30
30
|
3EVmCm5IRuqZ1UcDFouQ9w==
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2017-
|
32
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: bundler
|
@@ -93,7 +93,7 @@ files:
|
|
93
93
|
- bin/rake-compiler-dock
|
94
94
|
- build/mk_i686.rb
|
95
95
|
- build/patches/rake-compiler-1.0.4/enable-static.diff
|
96
|
-
- build/patches/ruby-2.4.
|
96
|
+
- build/patches/ruby-2.4.3/no_sendfile.patch
|
97
97
|
- build/runas
|
98
98
|
- build/sigfw.c
|
99
99
|
- build/strip_wrapper
|
metadata.gz.sig
CHANGED
Binary file
|