Created
April 8, 2017 14:13
-
-
Save iamblue/a8b0e12b6eeca5d6a6e62f5a6ba0b646 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:boron | |
USER root | |
## Set environment variable | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV SDK_VERSION V4.0.0 | |
RUN apt-get update && \ | |
apt-get install -y \ | |
build-essential \ | |
libc6-i386 \ | |
wget \ | |
unzip | |
RUN wget https://s3-ap-southeast-1.amazonaws.com/mtk.linkit/Mediatek-Cloud/sdk_linux.zip | |
RUN unzip sdk_linux.zip && npm install microlattice -g | |
COPY ./app.zip /root | |
RUN unzip /root/app.zip | |
RUN cd /app && ls && cp -R ../sdk_linux/ ./ && sh ./build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment