1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00

Merge pull request #364 from infosiftr/arches

Use libucontext in 2.7 to fix alpine based builds on arm32v6/7 and s390x
This commit is contained in:
Tianon Gravi 2021-10-26 16:18:03 -07:00 committed by GitHub
commit 4d6eafa077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 0 deletions

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \
@ -97,6 +98,7 @@ RUN set -eux; \
\
autoconf; \
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
export LIBS='-lucontext'; \
./configure \
--build="$gnuArch" \
--disable-install-doc \

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \
@ -97,6 +98,7 @@ RUN set -eux; \
\
autoconf; \
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
export LIBS='-lucontext'; \
./configure \
--build="$gnuArch" \
--disable-install-doc \

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \

View file

@ -51,6 +51,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \

View file

@ -76,6 +76,7 @@ RUN set -eux; \
libffi-dev \
libxml2-dev \
libxslt-dev \
libucontext-dev \
linux-headers \
make \
ncurses-dev \
@ -165,6 +166,9 @@ RUN set -eux; \
\
autoconf; \
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
{{ if is_alpine and env.version == "2.7" then ( -}}
export LIBS='-lucontext'; \
{{ ) else "" end -}}
./configure \
--build="$gnuArch" \
--disable-install-doc \