mirror of
/repos/rpi-node.git
synced 2026-02-26 17:32:01 +01:00
node 4.4.3
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.idea
|
||||||
|
*.iml
|
||||||
13
Dockerfile
13
Dockerfile
@@ -1,17 +1,18 @@
|
|||||||
|
|
||||||
# Pull base image
|
# Pull base image
|
||||||
FROM aiko/baseimage-pi:0.9.16
|
FROM aiko/baseimage-pi:0.9.18
|
||||||
|
|
||||||
MAINTAINER Aiko Mastboom <docker@aiko.sh>
|
MAINTAINER Aiko Mastboom <docker@aiko.sh>
|
||||||
#MAINTAINER Dieter Reuter <dieter@hypriot.com>
|
#MAINTAINER Dieter Reuter <dieter@hypriot.com>
|
||||||
|
|
||||||
# Install Node.js (from tarball)
|
# Install Node.js (from tarball)
|
||||||
ENV NODE_VERSION 0.10.36
|
ARG NODE_VERSION=4.4.3
|
||||||
ADD http://assets.hypriot.com/node-v${NODE_VERSION}-linux-armv6hf.tar.gz /
|
ADD http://assets.hypriot.com/node-v${NODE_VERSION}-linux-armv6hf.tar.gz /
|
||||||
RUN \
|
|
||||||
cd /usr/local/ && \
|
RUN /bin/true \
|
||||||
tar --strip-components 1 -xzf /node-v${NODE_VERSION}-linux-armv6hf.tar.gz && \
|
&& cd /usr/local/ \
|
||||||
rm -f node-v${NODE_VERSION}-linux-armv6hf.tar.gz
|
&& 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
|
# Define working directory
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|||||||
Reference in New Issue
Block a user