-
Notifications
You must be signed in to change notification settings - Fork 85
/
Dockerfile
20 lines (16 loc) · 955 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# AUTOGENERATED FILE
FROM resin/intel-nuc-alpine:latest
ENV NODE_VERSION 5.12.0
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv libcrypto1.0 libssl1.0
RUN buildDeps='curl' \
&& set -x \
&& apk add --no-cache $buildDeps \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/node/v$NODE_VERSION/node-v$NODE_VERSION-linux-alpine-amd64.tar.gz" \
&& echo "898ce95ba34bbb1e2b065e201b5d21af5bc49776ae8c4962db3f80b1ef782ae4 node-v5.12.0-linux-alpine-amd64.tar.gz" | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-alpine-amd64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-alpine-amd64.tar.gz" \
&& apk del $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"]