about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-01-11 04:25:26 -0600
committerGitHub <noreply@github.com>2018-01-11 04:25:26 -0600
commit8c08c852bcbea32efbd070600c2c13ba6585e6e2 (patch)
tree78fcc89c2271cc88eed0393d43019d19659f34c4 /Dockerfile
parent26f054253c5071d6d56d85f6bc185ae1fc677649 (diff)
parentf13ebd02c91776ddb88b5178bf9015c6e0f1ca80 (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--Dockerfile3
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 \