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:
commit
4d6eafa077
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