File tree Expand file tree Collapse file tree 9 files changed +32
-6
lines changed Expand file tree Collapse file tree 9 files changed +32
-6
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
Original file line number Diff line number Diff line change 1- FROM alpine:3.12
1+ FROM alpine:3.14
22
33RUN apk add --no-cache \
44 gmp-dev
@@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
@@ -67,6 +68,11 @@ RUN set -eux; \
6768 echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; \
6869 patch -p1 -i thread-stack-fix.patch; \
6970 rm thread-stack-fix.patch; \
71+ # https://bugs.ruby-lang.org/issues/17723 (autoconf-2.70.patch)
72+ wget -O 'autoconf-2.70.patch' 'https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch' ; \
73+ echo '62eefa55030788d409003eccd945ccc408f02fe0d71616ed1c1bdcaf7a2f8a54 *autoconf-2.70.patch' | sha256sum --check --strict; \
74+ patch -p1 -i autoconf-2.70.patch; \
75+ rm autoconf-2.70.patch; \
7076 \
7177# hack in "ENABLE_PATH_CHECK" disabling to suppress:
7278# warning: Insecure world writable dir
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
Original file line number Diff line number Diff line change 1- FROM alpine:3.12
1+ FROM alpine:3.14
22
33RUN apk add --no-cache \
44 gmp-dev
@@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
Original file line number Diff line number Diff line change 1- FROM alpine:3.12
1+ FROM alpine:3.14
22
33RUN apk add --no-cache \
44 gmp-dev
@@ -29,6 +29,7 @@ RUN set -eux; \
2929 ca-certificates \
3030 coreutils \
3131 dpkg-dev dpkg \
32+ g++ \
3233 gcc \
3334 gdbm-dev \
3435 glib-dev \
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ RUN set -eux; \
3030 ca-certificates \
3131 coreutils \
3232 dpkg-dev dpkg \
33+ g++ \
3334 gcc \
3435 gdbm-dev \
3536 glib-dev \
@@ -68,6 +69,11 @@ RUN set -eux; \
6869 echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; \
6970 patch -p1 -i thread-stack-fix.patch; \
7071 rm thread-stack-fix.patch; \
72+ # https://bugs.ruby-lang.org/issues/17723 (autoconf-2.70.patch)
73+ wget -O 'autoconf-2.70.patch' 'https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch'; \
74+ echo '62eefa55030788d409003eccd945ccc408f02fe0d71616ed1c1bdcaf7a2f8a54 *autoconf-2.70.patch' | sha256sum --check --strict; \
75+ patch -p1 -i autoconf-2.70.patch; \
76+ rm autoconf-2.70.patch; \
7177 \
7278# hack in "ENABLE_PATH_CHECK" disabling to suppress:
7379# warning: Insecure world writable dir
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ defaultDebianSuite='buster'
1010declare -A debianSuites=(
1111 # [2.7]='buster'
1212)
13- defaultAlpineVersion=' 3.13 '
13+ defaultAlpineVersion=' 3.14 '
1414declare -A alpineVersion=(
1515 # [2.3]='3.8'
1616)
@@ -80,7 +80,7 @@ join() {
8080for version in " ${versions[@]} " ; do
8181 for v in \
8282 {buster,stretch}{,/slim} \
83- alpine{3.13 ,3.12 } \
83+ alpine{3.14 ,3.13 } \
8484 ; do
8585 dir=" $version /$v "
8686 variant=" $( basename " $v " ) "
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ for version in "${versions[@]}"; do
5858 echo " $version : $fullVersion ; $shaVal "
5959
6060 for v in \
61- alpine{3.13 ,3.12 } \
61+ alpine{3.14 ,3.13 } \
6262 {stretch,buster}{/slim,} \
6363 ; do
6464 dir=" $version /$v "
@@ -89,6 +89,15 @@ for version in "${versions[@]}"; do
8989 stretch/slim)
9090 sed -i -e ' /libgdbm-compat-dev/d' " $dir /Dockerfile"
9191 ;;
92+ alpine3.13)
93+ sed -i -e ' /autoconf-2.70.patch/d' " $dir /Dockerfile"
94+ ;;
95+ esac
96+
97+ case " $version " in
98+ ' 2.7' |' 3.0' )
99+ sed -i -e ' /autoconf-2.70.patch/d' " $dir /Dockerfile"
100+ ;;
92101 esac
93102
94103 # https://github.com/docker-library/ruby/issues/246
You can’t perform that action at this time.
0 commit comments