diff options
author | David Yip <yipdw@member.fsf.org> | 2018-01-11 04:25:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 04:25:26 -0600 |
commit | 8c08c852bcbea32efbd070600c2c13ba6585e6e2 (patch) | |
tree | 78fcc89c2271cc88eed0393d43019d19659f34c4 /Dockerfile | |
parent | 26f054253c5071d6d56d85f6bc185ae1fc677649 (diff) | |
parent | f13ebd02c91776ddb88b5178bf9015c6e0f1ca80 (diff) |
Merge pull request #320 from glitch-soc/dockerfile-stack-space
dockerfile: Give more stack space to /sbin/tini
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 7cca02ecf..d455116da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,9 @@ RUN apk -U upgrade \ && rm -rf /tmp/* /var/cache/apk/* COPY Gemfile Gemfile.lock package.json yarn.lock .yarnclean /mastodon/ +COPY stack-fix.c /lib +RUN gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so +RUN rm /lib/stack-fix.c RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-include=/usr/local/include \ && bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without test development \ |