-
Notifications
You must be signed in to change notification settings - Fork 85
/
Dockerfile
18 lines (15 loc) · 940 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# AUTOGENERATED FILE
FROM resin/am571x-evm-debian:jessie
ENV NODE_VERSION 4.8.3
RUN buildDeps='curl' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/node/v$NODE_VERSION/node-v$NODE_VERSION-linux-armv7hf.tar.gz" \
&& echo "849a55c62a726386649fb9c6da8e41ac3611d8b3a1ac481959516fc95047262a node-v4.8.3-linux-armv7hf.tar.gz" | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-armv7hf.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-armv7hf.tar.gz" \
&& apt-get purge -y --auto-remove $buildDeps \
&& npm config set unsafe-perm true -g --unsafe-perm \
&& rm -rf /tmp/*
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: http://docs.resin.io/deployment/dockerfile"]