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:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user