upd
This commit is contained in:
parent
6d75e0f3eb
commit
4e18bbc1a2
@ -56,30 +56,30 @@ RUN set -ex \
|
||||
xz
|
||||
|
||||
RUN wget -O ruby.tar.xz "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.xz" \
|
||||
# && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum -c - \
|
||||
# \
|
||||
# && mkdir -p /usr/src/ruby \
|
||||
# && tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1 \
|
||||
# && rm ruby.tar.xz \
|
||||
# \
|
||||
# && cd /usr/src/ruby \
|
||||
# \
|
||||
# && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum -c - \
|
||||
\
|
||||
&& mkdir -p /usr/src/ruby \
|
||||
&& tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1 \
|
||||
&& rm ruby.tar.xz \
|
||||
\
|
||||
&& cd /usr/src/ruby \
|
||||
\
|
||||
# # hack in "ENABLE_PATH_CHECK" disabling to suppress:
|
||||
# # warning: Insecure world writable dir
|
||||
# && { \
|
||||
# echo '#define ENABLE_PATH_CHECK 0'; \
|
||||
# echo; \
|
||||
# cat file.c; \
|
||||
# } > file.c.new \
|
||||
# && mv file.c.new file.c \
|
||||
# \
|
||||
# && autoconf \
|
||||
# # the configure script does not detect isnan/isinf as macros
|
||||
# && ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
# ./configure --disable-install-doc --enable-shared \
|
||||
# && make -j"$(getconf _NPROCESSORS_ONLN)" \
|
||||
# && make install \
|
||||
# \
|
||||
&& { \
|
||||
echo '#define ENABLE_PATH_CHECK 0'; \
|
||||
echo; \
|
||||
cat file.c; \
|
||||
} > file.c.new \
|
||||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
# the configure script does not detect isnan/isinf as macros
|
||||
&& ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
|
||||
&& make install \
|
||||
\
|
||||
# && runDeps="$( \
|
||||
# scanelf --needed --nobanner --recursive /usr/local \
|
||||
# | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user