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