This commit is contained in:
Tim Lianov 2025-01-09 20:31:19 +04:00
parent 6d75e0f3eb
commit 4e18bbc1a2

View File

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