From 108b72ad1d27e39f18c005f4227efb1ac5e863a1 Mon Sep 17 00:00:00 2001 From: 140b8f67-ec51-4b64-9606-bff2dffa0170 Date: Thu, 22 Sep 2016 10:07:51 -0700 Subject: [PATCH] Updated armv7l build file --- src/node/sys/Dockerfile | 2 +- src/node/sys/build.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/node/sys/Dockerfile b/src/node/sys/Dockerfile index 3562050..3996d83 100644 --- a/src/node/sys/Dockerfile +++ b/src/node/sys/Dockerfile @@ -29,7 +29,7 @@ FROM ubuntu:14.04.5 MAINTAINER Andy # Configuration -ENV NODE_VERSION=6.0.0 +ENV NODE_VERSION=6.6.0 # Setup Enviroment Variables WORKDIR /armv7l diff --git a/src/node/sys/build.sh b/src/node/sys/build.sh index 8fe0cb9..d1ec90e 100755 --- a/src/node/sys/build.sh +++ b/src/node/sys/build.sh @@ -31,9 +31,16 @@ # Build container docker build -t casdk-node . +# Cleanup +if [ -f ../dist/node ]; then + rm ../dist/node +fi + # Make folder mkdir -p ../dist +# remove + # Copy release binary docker run --rm --entrypoint cat casdk-node /armv7l/latest/node > ../dist/node