mirror of
https://github.com/flyandi/mazda-custom-application-sdk
synced 2024-12-23 03:35:29 -06:00
Updated armv7l build file
This commit is contained in:
parent
3da28b834c
commit
108b72ad1d
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue