Skip to content

Instantly share code, notes, and snippets.

@iamblue
Created April 8, 2017 14:13
Show Gist options
  • Save iamblue/a8b0e12b6eeca5d6a6e62f5a6ba0b646 to your computer and use it in GitHub Desktop.
Save iamblue/a8b0e12b6eeca5d6a6e62f5a6ba0b646 to your computer and use it in GitHub Desktop.
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