|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
FROM ubuntu:14.04 |
|
|
|
|
|
|
|
|
|
RUN apt-get -y update && \ |
|
|
|
|
apt-get install -y curl git-core mingw-w64 xz-utils build-essential wget unzip |
|
|
|
|
apt-get install -y curl git-core mingw-w64 xz-utils build-essential gcc-multilib wget unzip |
|
|
|
|
|
|
|
|
|
RUN mkdir -p /opt/mingw && \ |
|
|
|
|
curl -SL http://downloads.sourceforge.net/mingw-w64/i686-w64-mingw32-gcc-4.7.2-release-linux64_rubenvb.tar.xz | \ |
|
|
|
@ -103,12 +103,25 @@ RUN bash -c "rvm use 2.3.0 --default && \ |
|
|
|
|
export MAKE=\"make -j`nproc`\" CFLAGS='-s -O1 -fno-omit-frame-pointer -fno-fast-math' && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.3.0 HOST=i686-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.3.0 HOST=x86_64-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.3.0 HOST=x86_64-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.2.2 HOST=i686-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.2.2 HOST=x86_64-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.2.2 HOST=x86_64-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.1.6 HOST=i686-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.1.6 HOST=x86_64-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.1.6 HOST=x86_64-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=i686-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=x86_64-w64-mingw32 && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=x86_64-linux-gnu && \ |
|
|
|
|
rm -rf ~/.rake-compiler/tmp/builds ~/.rake-compiler/sources && \ |
|
|
|
|
find /usr/local/rvm -type d -print0 | sudo xargs -0 chmod g+sw " |
|
|
|
|
|
|
|
|
|
RUN bash -c "rvm use 2.3.0 --default && \ |
|
|
|
|
export MAKE=\"make -j`nproc`\" CFLAGS='-m32 -s -O1 -fno-omit-frame-pointer -fno-fast-math' LDFLAGS='-m32' && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.3.0 HOST=i686-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.2.2 HOST=i686-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.1.6 HOST=i686-linux-gnu && \ |
|
|
|
|
rake-compiler cross-ruby VERSION=2.0.0-p645 HOST=i686-linux-gnu && \ |
|
|
|
|
rm -rf ~/.rake-compiler/tmp/builds ~/.rake-compiler/sources && \ |
|
|
|
|
find /usr/local/rvm -type d -print0 | sudo xargs -0 chmod g+sw " |
|
|
|
|
|
|
|
|
|