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:
parent
2caaf19b93
commit
53a12c266a
7 changed files with 12 additions and 0 deletions
1
2.6/alpine3.13/Dockerfile
generated
1
2.6/alpine3.13/Dockerfile
generated
|
@ -51,6 +51,7 @@ RUN set -eux; \
|
|||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libucontext-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
ncurses-dev \
|
||||
|
|
1
2.6/alpine3.14/Dockerfile
generated
1
2.6/alpine3.14/Dockerfile
generated
|
@ -51,6 +51,7 @@ RUN set -eux; \
|
|||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libucontext-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
ncurses-dev \
|
||||
|
|
2
2.7/alpine3.13/Dockerfile
generated
2
2.7/alpine3.13/Dockerfile
generated
|
@ -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 \
|
||||
|
|
2
2.7/alpine3.14/Dockerfile
generated
2
2.7/alpine3.14/Dockerfile
generated
|
@ -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 \
|
||||
|
|
1
3.0/alpine3.13/Dockerfile
generated
1
3.0/alpine3.13/Dockerfile
generated
|
@ -51,6 +51,7 @@ RUN set -eux; \
|
|||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libucontext-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
ncurses-dev \
|
||||
|
|
1
3.0/alpine3.14/Dockerfile
generated
1
3.0/alpine3.14/Dockerfile
generated
|
@ -51,6 +51,7 @@ RUN set -eux; \
|
|||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libucontext-dev \
|
||||
linux-headers \
|
||||
make \
|
||||
ncurses-dev \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue