diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-20 14:34:15 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-20 14:34:15 +0300 |
commit | 99703035d7bd5033cd3251c815833fa5e6198169 (patch) | |
tree | 6a65fab0ca95e3e0226644c9a24be1ddc5531ebd | |
parent | b92cde23aa74e516ae3c26c1bff1b4090e090c37 (diff) | |
download | wekan-99703035d7bd5033cd3251c815833fa5e6198169.tar.gz wekan-99703035d7bd5033cd3251c815833fa5e6198169.tar.bz2 wekan-99703035d7bd5033cd3251c815833fa5e6198169.zip |
Use paxctl to fix segfaut on Alpine Linux. Closes #1303
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,8 @@ ARG ARCHITECTURE ARG SRC_PATH # Set the environment variables (defaults where required) -ENV BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates gcc-4.9" +# paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 +ENV BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates gcc-4.9 paxctl" ENV GOSU_VERSION=1.10 ENV NODE_VERSION ${NODE_VERSION:-v4.8.4} ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.4.1} @@ -78,6 +79,9 @@ RUN \ ln -s /opt/nodejs/bin/node /usr/bin/node && \ ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ \ + # paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 + paxctl -mC `which node` && \ + \ # Install Node dependencies npm install -g npm@${NPM_VERSION} && \ npm install -g node-gyp && \ |