File tree 8 files changed +64
-0
lines changed
8 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
Original file line number Diff line number Diff line change @@ -55,6 +55,14 @@ RUN set -ex \
55
55
\
56
56
&& cd /usr/src/ruby \
57
57
\
58
+ # https://github.com/docker-library/ruby/issues/196
59
+ # https://bugs.ruby-lang.org/issues/14387#note-13 (patch source)
60
+ # https://bugs.ruby-lang.org/issues/14387#note-16 ("Therefore ncopa's patch looks good for me in general." -- only breaks glibc which doesn't matter here)
61
+ && wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch' \
62
+ && echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum -c - \
63
+ && patch -p1 -i thread-stack-fix.patch \
64
+ && rm thread-stack-fix.patch \
65
+ \
58
66
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
59
67
# warning: Insecure world writable dir
60
68
&& { \
You can’t perform that action at this time.
0 commit comments