瀏覽代碼

Use Node 4.6.7. Add paxctl fix to snap.

Lauri Ojansivu 7 年之前
父節點
當前提交
0c15048bdd
共有 3 個文件被更改,包括 15 次插入4 次删除
  1. 9 1
      CHANGELOG.md
  2. 1 1
      Dockerfile
  3. 5 2
      snapcraft.yaml

+ 9 - 1
CHANGELOG.md

@@ -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
 
 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);
 * [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 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:
 

+ 1 - 1
Dockerfile

@@ -15,7 +15,7 @@ ARG SRC_PATH
 # 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.6}
+ENV NODE_VERSION ${NODE_VERSION:-v4.8.7}
 ENV METEOR_RELEASE ${METEOR_RELEASE:-1.4.4.1}
 ENV USE_EDGE ${USE_EDGE:-false}
 ENV METEOR_EDGE ${METEOR_EDGE:-1.5-beta.17}

+ 5 - 2
snapcraft.yaml

@@ -70,7 +70,7 @@ parts:
     wekan:
         source: .
         plugin: nodejs
-        node-engine: 4.8.6
+        node-engine: 4.8.7
         node-packages:
             - n
             - npm@4.6.1
@@ -84,11 +84,14 @@ parts:
             - capnproto
             - npm
             - curl
+            - paxctl
         prepare: |
             echo "Cleaning environment first"
             rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
             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"
             curl https://install.meteor.com/ -o install_meteor.sh
             sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh