Skip to content

Commit

Permalink
Fix segfault issue in docker by patching salt-call
Browse files Browse the repository at this point in the history
This patch updates the threading stack size to 8MB.
see: docker-library/python#211 (comment)
  • Loading branch information
bbinet committed Jan 6, 2020
1 parent 74e7040 commit c3460d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pull:
.tmp/thin.tgz: ${THIN_RM}
wget -O .tmp/thin.tgz https://github.com/bbinet/salt/releases/download/${THIN_VERSION}/thin.tgz
rm -fr .tmp/thin && mkdir -p .tmp/thin && tar zxvf .tmp/thin.tgz -C .tmp/thin/
sed -i '2iimport threading; threading.stack_size(8*1024*1024)' .tmp/thin/salt-call
thin: .tmp/thin.tgz .tmp/etc/salt/minion_id
thin_rm:
rm -f .tmp/thin.tgz
Expand Down

0 comments on commit c3460d9

Please sign in to comment.