Updated armv7l build file

This commit is contained in:
140b8f67-ec51-4b64-9606-bff2dffa0170 2016-09-22 10:07:51 -07:00
parent 3da28b834c
commit 108b72ad1d
2 changed files with 8 additions and 1 deletions

View file

@ -29,7 +29,7 @@ FROM ubuntu:14.04.5
MAINTAINER Andy <flyandi@yahoo.com> MAINTAINER Andy <flyandi@yahoo.com>
# Configuration # Configuration
ENV NODE_VERSION=6.0.0 ENV NODE_VERSION=6.6.0
# Setup Enviroment Variables # Setup Enviroment Variables
WORKDIR /armv7l WORKDIR /armv7l

View file

@ -31,9 +31,16 @@
# Build container # Build container
docker build -t casdk-node . docker build -t casdk-node .
# Cleanup
if [ -f ../dist/node ]; then
rm ../dist/node
fi
# Make folder # Make folder
mkdir -p ../dist mkdir -p ../dist
# remove
# Copy release binary # Copy release binary
docker run --rm --entrypoint cat casdk-node /armv7l/latest/node > ../dist/node docker run --rm --entrypoint cat casdk-node /armv7l/latest/node > ../dist/node