rake-compiler-dock 0.6.0 → 0.6.1
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 +8 -8
- data/History.md +8 -1
- data/Rakefile +2 -0
- data/build/patches/{rake-compiler-1.0.3 → rake-compiler-1.0.4}/enable-static.diff +0 -0
- data/build/patches/{ruby-2.4.0 → ruby-2.4.1}/no_sendfile.patch +0 -0
- data/lib/rake_compiler_dock/predefined_user_group.rb +1 -1
- data/lib/rake_compiler_dock/version.rb +2 -2
- data/rake-compiler-dock.gemspec +1 -1
- metadata +14 -14
- 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: b64300e94f1190762eb20d4065097f85ef1aaa09
|
4
|
+
data.tar.gz: 9a1b8b2149f64f76c5ad4ff097d739b1e7316436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5b62e4105e96b8f6f6cab25f4fb35aa11d7263223a106b51c6ed0e58f7165c4aee23b83a8692f813bb3af50b473ce3135a5e19f97df39b4b1339e421afac6d
|
7
|
+
data.tar.gz: 9034571294c4965f48cf92df3d9e4e19376c10f2a7b2c3de6639903f183b49772cf99c2a129d399c3fe42cd92d2708d58989dce3877c770fde1e2f5fb5a0ebe9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM ubuntu:
|
1
|
+
FROM ubuntu:17.04
|
2
2
|
|
3
3
|
RUN apt-get -y update && \
|
4
4
|
apt-get install -y curl git-core xz-utils build-essential wget unzip sudo gpg dirmngr
|
@@ -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.1 ; do \
|
26
26
|
rvm install \$v --patch \$(echo ~/patches/ruby-\$v/* | tr ' ' ','); \
|
27
27
|
done && \
|
28
28
|
rvm cleanup all && \
|
@@ -49,16 +49,16 @@ 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.1 --default && rvmsudo ruby /root/mk_i686.rb"
|
53
53
|
|
54
|
-
# Patch rake-compiler to
|
55
|
-
RUN cd /usr/local/rvm/gems/ruby-2.4.
|
54
|
+
# Patch rake-compiler to build and install static libraries for Linux rubies
|
55
|
+
RUN cd /usr/local/rvm/gems/ruby-2.4.1/gems/rake-compiler-1.0.4 && git apply /home/rvm/patches/rake-compiler-1.0.4/*.diff ;\
|
56
56
|
true
|
57
57
|
|
58
|
-
#
|
58
|
+
# Then build cross ruby versions
|
59
59
|
RUN bash -c " \
|
60
60
|
export CFLAGS='-s -O1 -fno-omit-frame-pointer -fno-fast-math' && \
|
61
|
-
parallel -- \
|
61
|
+
parallel -j5 -- \
|
62
62
|
'rake-compiler cross-ruby VERSION=2.4.0 HOST=i686-linux-gnu' \
|
63
63
|
'rake-compiler cross-ruby VERSION=2.3.0 HOST=i686-linux-gnu' \
|
64
64
|
'rake-compiler cross-ruby VERSION=2.2.2 HOST=i686-linux-gnu' \
|
@@ -93,7 +93,7 @@ RUN find /usr/local/rake-compiler/ruby/*linux*/ -name mkmf.rb | while read f ; d
|
|
93
93
|
RUN find /usr/local/rake-compiler/ruby/*mingw*/ -name rbconfig.rb | while read f ; do sed -i 's/."LDFLAGS". = "/&-static-libgcc /' $f ; done
|
94
94
|
|
95
95
|
RUN bash -c " \
|
96
|
-
rvm alias create 2.4 2.4.
|
96
|
+
rvm alias create 2.4 2.4.1 "
|
97
97
|
|
98
98
|
USER root
|
99
99
|
|
data/History.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1 / 2017-06-02
|
2
|
+
------------------
|
3
|
+
* Update base image from Ubuntu-16.10 to 17.04
|
4
|
+
* Update perinstalled gems (this solves an version conflict between hoe and rake)
|
5
|
+
* Update installed ruby version
|
6
|
+
|
7
|
+
|
8
|
+
0.6.0 / 2016-12-26
|
2
9
|
------------------
|
3
10
|
* Remove Windows cross build environments for Ruby < 2.0.
|
4
11
|
* Add Windows cross build environment for Ruby-2.4.
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# DO NOT EDIT - This file is generated per 'rake update_lists'
|
2
2
|
module RakeCompilerDock
|
3
3
|
PredefinedUsers = ["root", "daemon", "bin", "sys", "sync", "games", "man", "lp", "mail", "news", "uucp", "proxy", "www-data", "backup", "list", "irc", "gnats", "nobody", "_apt", "rvm"]
|
4
|
-
PredefinedGroups = ["root", "daemon", "bin", "sys", "adm", "tty", "disk", "lp", "mail", "news", "uucp", "man", "proxy", "kmem", "dialout", "fax", "voice", "cdrom", "floppy", "tape", "sudo", "audio", "dip", "www-data", "backup", "operator", "list", "irc", "src", "gnats", "shadow", "utmp", "video", "sasl", "plugdev", "staff", "games", "users", "nogroup", "
|
4
|
+
PredefinedGroups = ["root", "daemon", "bin", "sys", "adm", "tty", "disk", "lp", "mail", "news", "uucp", "man", "proxy", "kmem", "dialout", "fax", "voice", "cdrom", "floppy", "tape", "sudo", "audio", "dip", "www-data", "backup", "operator", "list", "irc", "src", "gnats", "shadow", "utmp", "video", "sasl", "plugdev", "staff", "games", "users", "nogroup", "ssh", "rvm"]
|
5
5
|
end
|
data/rake-compiler-dock.gemspec
CHANGED
@@ -23,6 +23,6 @@ Use rake-compiler-dock to enter an interactive shell session or add a task to yo
|
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.7"
|
26
|
-
spec.add_development_dependency "rake", "~>
|
26
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
27
27
|
spec.add_development_dependency "test-unit", "~> 3.0"
|
28
28
|
end
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Kanis
|
@@ -12,7 +12,7 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDPDCCAiSgAwIBAgIBAzANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
|
14
14
|
MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYCZGUwHhcNMTcwNDA0MTgyNDE1WhcNMTgwNDA0MTgyNDE1WjBEMQ0wCwYDVQQD
|
16
16
|
DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
|
17
17
|
iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
|
18
18
|
RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrEyo55zxn0G9PHg/G3P8nMvAXPkUTe
|
23
23
|
brhXrfCwWRvOXA4TAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0G
|
24
24
|
A1UdDgQWBBRAHK81igrXodaDj8a8/BIKsaZrETANBgkqhkiG9w0BAQUFAAOCAQEA
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
Wbp+grpaqUH+RiXNXmi/5xBfvSYLbxWj+DZpCSnQW+DMfx46RVVko3b7BtKDs2zs
|
26
|
+
EtKM6r6s7VbllPgcYUzaP92uzPqCw8FncvqG0+B+Nd4C2jKzPxAQyzYXv/3bQhv1
|
27
|
+
sXAzEqLQqKx5V63eBDh1TPvPTEMfJwmjcdcbvMwFSt5EcUkT63W13ZJXX23JYp1K
|
28
|
+
KRW+N1WIYz8RSBNaQIP2v5Inb9vUA+jPUOcdyLHoi205lyZ28hE4lcnh9Zs02aHs
|
29
|
+
Ao8FZozVJz8xVEuYNJsL2k70w0FiwXwoWyvKyekgPBvYNUj4JGDMtBBayJTOpDs7
|
30
|
+
3EVmCm5IRuqZ1UcDFouQ9w==
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: bundler
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '12.0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '12.0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: test-unit
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,8 +92,8 @@ files:
|
|
92
92
|
- Rakefile
|
93
93
|
- bin/rake-compiler-dock
|
94
94
|
- build/mk_i686.rb
|
95
|
-
- build/patches/rake-compiler-1.0.
|
96
|
-
- build/patches/ruby-2.4.
|
95
|
+
- build/patches/rake-compiler-1.0.4/enable-static.diff
|
96
|
+
- build/patches/ruby-2.4.1/no_sendfile.patch
|
97
97
|
- build/runas
|
98
98
|
- build/sigfw.c
|
99
99
|
- build/strip_wrapper
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.6.11
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Easy to use and reliable cross compiler environment for building Windows
|
metadata.gz.sig
CHANGED
Binary file
|