Use Node 4.6.7. Add paxctl fix to snap.

This commit is contained in:
Lauri Ojansivu 2017-12-20 14:11:41 +02:00
parent 74877fd10d
commit 0c15048bdd
3 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,11 @@
# Upcoming Wekan release
This release adds the following new features:
* Update to Node 4.8.7
Thanks to GitHub user xet7 for contributions.
# v0.62 2017-12-12 Wekan release # v0.62 2017-12-12 Wekan release
This release fixes the following bugs: This release fixes the following bugs:
@ -17,7 +25,7 @@ This release adds the following new features:
* [Make it easier to see the Add Card button at top of list](https://github.com/wekan/wekan/pull/1392); * [Make it easier to see the Add Card button at top of list](https://github.com/wekan/wekan/pull/1392);
* [Add mixmax:smart-disconnect to lower CPU usage when browser tab is not selected](https://github.com/wekan/wekan-mongodb/issues/2); * [Add mixmax:smart-disconnect to lower CPU usage when browser tab is not selected](https://github.com/wekan/wekan-mongodb/issues/2);
* Update tranlations. Add Latvian language; * Update tranlations. Add Latvian language;
* Update to Node 4.8.4 and MongoDB 3.2.18. * Update to Node 4.8.6 and MongoDB 3.2.18.
and fixes the following bugs: and fixes the following bugs:

View file

@ -15,7 +15,7 @@ ARG SRC_PATH
# paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 # 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 BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates gcc-4.9 paxctl"
ENV GOSU_VERSION=1.10 ENV GOSU_VERSION=1.10
ENV NODE_VERSION ${NODE_VERSION:-v4.8.6} ENV NODE_VERSION ${NODE_VERSION:-v4.8.7}
ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.4.1} ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.4.1}
ENV USE_EDGE ${USE_EDGE:-false} ENV USE_EDGE ${USE_EDGE:-false}
ENV METEOR_EDGE ${METEOR_EDGE:-1.5-beta.17} ENV METEOR_EDGE ${METEOR_EDGE:-1.5-beta.17}

View file

@ -70,7 +70,7 @@ parts:
wekan: wekan:
source: . source: .
plugin: nodejs plugin: nodejs
node-engine: 4.8.6 node-engine: 4.8.7
node-packages: node-packages:
- n - n
- npm@4.6.1 - npm@4.6.1
@ -84,11 +84,14 @@ parts:
- capnproto - capnproto
- npm - npm
- curl - curl
- paxctl
prepare: | prepare: |
echo "Cleaning environment first" echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
echo "Installing node" echo "Installing node"
n 4.8.6 n 4.8.7
echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303"
paxctl -mC `which node`
echo "Installing meteor" echo "Installing meteor"
curl https://install.meteor.com/ -o install_meteor.sh curl https://install.meteor.com/ -o install_meteor.sh
sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh