diff --git a/src/node-cmu/package.json b/src/node-cmu/package.json index f65acca..15a318f 100644 --- a/src/node-cmu/package.json +++ b/src/node-cmu/package.json @@ -1,7 +1,7 @@ { "name": "casdk-runtime", "description": "Write and deploy applications for the Mazda Infotainment System", - "version": "0.0.4", + "version": "0.0.5", "homepage": "http://flyandi.github.io/mazda-custom-application-sdk/", "author": "Andy (flyandi) ", "repository": { @@ -10,6 +10,8 @@ }, "license": "GPL-3.0", "dependencies": { - "ws": "^1.0.1" + "ws": "^1.0.1", + "threads": "*" } + } diff --git a/src/node/.gitignore b/src/node/.gitignore index f920c5a..7773828 100644 --- a/src/node/.gitignore +++ b/src/node/.gitignore @@ -1 +1 @@ -latest/ \ No newline at end of file +dist/ \ No newline at end of file diff --git a/src/node/sys/Dockerfile b/src/node/sys/Dockerfile index 11eb8bd..3562050 100644 --- a/src/node/sys/Dockerfile +++ b/src/node/sys/Dockerfile @@ -25,11 +25,11 @@ # # Docker Build Environment for CASDK-NODE # -FROM ubuntu +FROM ubuntu:14.04.5 MAINTAINER Andy # Configuration -ENV NODE_VERSION=5.9.0 +ENV NODE_VERSION=6.0.0 # Setup Enviroment Variables WORKDIR /armv7l diff --git a/src/node/sys/build.sh b/src/node/sys/build.sh index f15d025..8fe0cb9 100755 --- a/src/node/sys/build.sh +++ b/src/node/sys/build.sh @@ -31,8 +31,11 @@ # Build container docker build -t casdk-node . +# Make folder +mkdir -p ../dist + # Copy release binary -docker cp casdk-node:/armv7l/latest/node ../dist +docker run --rm --entrypoint cat casdk-node /armv7l/latest/node > ../dist/node # Validate file ../dist/node