diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-01-11 13:08:29 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-01-11 13:08:29 +0200 |
commit | e01f4dbf1393a789faaa2f38b53d2effad827e86 (patch) | |
tree | ed8a456d8455a4f2a7d89723269e4352ccfb6dd5 /snapcraft.yaml | |
parent | 5bece0dd1e8bb97d8ef07908179fb5735d097115 (diff) | |
download | wekan-e01f4dbf1393a789faaa2f38b53d2effad827e86.tar.gz wekan-e01f4dbf1393a789faaa2f38b53d2effad827e86.tar.bz2 wekan-e01f4dbf1393a789faaa2f38b53d2effad827e86.zip |
Change Buffer to Buffer.alloc on Node v12. Try to fix Snap.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r-- | snapcraft.yaml | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index ab93384b..bb1cb05c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: wekan -version: 0 +version: '0' version-script: git describe --tags | cut -c 2- summary: The open-source kanban description: | @@ -12,6 +12,11 @@ description: | confinement: strict grade: stable +base: core18 + +environment: + npm_config_unsafe_perm: "true" + NODE_ENV: "production" architectures: - amd64 @@ -65,9 +70,9 @@ apps: parts: mongodb: - source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.2.tgz + source: https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/4.2/multiverse/binary-amd64/mongodb-org-server_4.2.2_amd64.deb plugin: dump - stage-packages: [libssl1.0.0] + stage-packages: [libssl1.1] filesets: mongo: - usr @@ -81,21 +86,16 @@ parts: wekan: source: . plugin: nodejs - node-engine: 12.14.1 - node-packages: - - node-gyp - - node-pre-gyp - - fibers build-packages: - ca-certificates - apt-utils - build-essential - - python -# - python3 +# - python + - python3 - g++ - capnproto - curl - - libcurl3 + - libcurl4 - execstack - nodejs - npm @@ -106,6 +106,11 @@ parts: rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules # Create the OpenAPI specification rm -rf .build + npm -g install n + n 12.14.1 + npm install -g node-gyp + npm install -g node-pre-gyp + npm install -g fibers #mkdir -p .build/python #cd .build/python #git clone --depth 1 -b master https://github.com/Kronuz/esprima-python |