1
0
mirror of /repos/rpi-node.git synced 2026-02-26 17:32:01 +01:00

initial commit Node.js v0.10.36

This commit is contained in:
Dieter Reuter
2015-02-22 14:07:14 +01:00
parent 88a2b4ede3
commit 5b4ce02c35
3 changed files with 59 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Pull base image
FROM resin/rpi-raspbian:wheezy
MAINTAINER Dieter Reuter <dieter@hypriot.com>
# Install Node.js (from tarball)
ENV NODE_VERSION 0.10.36
ADD http://assets.hypriot.com/node-v${NODE_VERSION}-linux-armv6hf.tar.gz /
RUN \
cd /usr/local/ && \
tar --strip-components 1 -xzf /node-v${NODE_VERSION}-linux-armv6hf.tar.gz && \
rm -f node-v${NODE_VERSION}-linux-armv6hf.tar.gz
# Define working directory
WORKDIR /data
# Define default command
CMD ["bash"]