⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (573 Bytes)
Bug #14480
ยป Dockerfile
wanabe (_ wanabe)
, 02/21/2018 12:49 AM
FROM
arm64v8/fedora:rawhide
COPY
qemu-aarch64-static /usr/bin/qemu-aarch64-static
RUN
dnf
install
-y
gcc make bison autoconf ruby
RUN
dnf
install
-y
wget
tar
xz
ARG
RUBY_MAJOR=2.5
ARG
RUBY_VERSION=2.5.0
ARG
use_volume=""
ARG
jobs=4
RUN
[
-z
"
${
use_volume
}
"
]
\
&&
mkdir
-p
/usr/src/ruby
\
&&
cd
/usr/src/ruby
\
&&
wget
-O
../ruby.tar.xz
"https://cache.ruby-lang.org/pub/ruby/
${
RUBY_MAJOR
%-rc
}
/ruby-
$RUBY_VERSION
.tar.xz"
\
&&
tar
-xJf
../ruby.tar.xz
--strip-components
=
1
\
&&
./configure
WORKDIR
/usr/src/ruby
RUN
make
-j
${
jobs
}
ruby
||
:
CMD
make
(1-1/1)
Loading...