-
Notifications
You must be signed in to change notification settings - Fork 85
/
Dockerfile
18 lines (15 loc) · 944 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# AUTOGENERATED FILE
FROM resin/odroid-xu4-debian:jessie
ENV NODE_VERSION 0.10.48
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 "0efdd6168d696641d54fe1cc71b60873c649f4614619becdb2bb3416f8e17cbd node-v0.10.48-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"]