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

Use libucontext in 2.7 to fix alpine based builds on arm32v6/7 and s390x

- Same as alpine uses on all arches (https://git.alpinelinux.org/aports/commit/main/ruby/APKBUILD?h=3.14-stable&id=5ed0f177e21cb9582f05a4088209ada9b143ef80)
This commit is contained in:
Joe Ferguson 2021-10-25 16:46:01 -07:00
parent 2caaf19b93
commit 53a12c266a
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 \