mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
Add explicit "--build" to our "./configure" invocations
This commit is contained in:
parent
1b6455cc72
commit
be55938d97
15 changed files with 110 additions and 35 deletions
|
@ -18,6 +18,7 @@ RUN set -ex \
|
|||
\
|
||||
&& buildDeps=' \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
libgdbm-dev \
|
||||
ruby \
|
||||
' \
|
||||
|
@ -44,8 +45,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -24,6 +24,7 @@ RUN set -ex \
|
|||
bzip2-dev \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
dpkg-dev dpkg \
|
||||
gcc \
|
||||
gdbm-dev \
|
||||
glib-dev \
|
||||
|
@ -63,10 +64,14 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
# 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)" \
|
||||
&& export ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& runDeps="$( \
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex \
|
|||
&& buildDeps=' \
|
||||
autoconf \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
gcc \
|
||||
libbz2-dev \
|
||||
libgdbm-dev \
|
||||
|
@ -67,8 +68,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN set -ex \
|
|||
\
|
||||
&& buildDeps=' \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
libgdbm-dev \
|
||||
ruby \
|
||||
' \
|
||||
|
@ -44,8 +45,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -24,6 +24,7 @@ RUN set -ex \
|
|||
bzip2-dev \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
dpkg-dev dpkg \
|
||||
gcc \
|
||||
gdbm-dev \
|
||||
glib-dev \
|
||||
|
@ -63,10 +64,14 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
# 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)" \
|
||||
&& export ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& runDeps="$( \
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex \
|
|||
&& buildDeps=' \
|
||||
autoconf \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
gcc \
|
||||
libbz2-dev \
|
||||
libgdbm-dev \
|
||||
|
@ -67,8 +68,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN set -ex \
|
|||
\
|
||||
&& buildDeps=' \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
libgdbm-dev \
|
||||
ruby \
|
||||
' \
|
||||
|
@ -44,8 +45,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -24,6 +24,7 @@ RUN set -ex \
|
|||
bzip2-dev \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
dpkg-dev dpkg \
|
||||
gcc \
|
||||
gdbm-dev \
|
||||
glib-dev \
|
||||
|
@ -63,10 +64,14 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
# 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)" \
|
||||
&& export ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& runDeps="$( \
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex \
|
|||
&& buildDeps=' \
|
||||
autoconf \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
gcc \
|
||||
libbz2-dev \
|
||||
libgdbm-dev \
|
||||
|
@ -67,8 +68,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN set -ex \
|
|||
\
|
||||
&& buildDeps=' \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
libgdbm-dev \
|
||||
ruby \
|
||||
' \
|
||||
|
@ -44,8 +45,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -24,6 +24,7 @@ RUN set -ex \
|
|||
bzip2-dev \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
dpkg-dev dpkg \
|
||||
gcc \
|
||||
gdbm-dev \
|
||||
glib-dev \
|
||||
|
@ -63,10 +64,14 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
# 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)" \
|
||||
&& export ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& runDeps="$( \
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex \
|
|||
&& buildDeps=' \
|
||||
autoconf \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
gcc \
|
||||
libbz2-dev \
|
||||
libgdbm-dev \
|
||||
|
@ -67,8 +68,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -24,6 +24,7 @@ RUN set -ex \
|
|||
bzip2-dev \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
dpkg-dev dpkg \
|
||||
gcc \
|
||||
gdbm-dev \
|
||||
glib-dev \
|
||||
|
@ -63,10 +64,14 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
# 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)" \
|
||||
&& export ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& runDeps="$( \
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex \
|
|||
&& buildDeps=' \
|
||||
autoconf \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
gcc \
|
||||
libbz2-dev \
|
||||
libgdbm-dev \
|
||||
|
@ -67,8 +68,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
|
@ -18,6 +18,7 @@ RUN set -ex \
|
|||
\
|
||||
&& buildDeps=' \
|
||||
bison \
|
||||
dpkg-dev \
|
||||
libgdbm-dev \
|
||||
ruby \
|
||||
' \
|
||||
|
@ -44,8 +45,12 @@ RUN set -ex \
|
|||
&& mv file.c.new file.c \
|
||||
\
|
||||
&& autoconf \
|
||||
&& ./configure --disable-install-doc --enable-shared \
|
||||
&& make -j"$(nproc)" \
|
||||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
|
||||
&& ./configure \
|
||||
--build="$gnuArch" \
|
||||
--disable-install-doc \
|
||||
--enable-shared \
|
||||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
|
|
Loading…
Reference in a new issue