Skip to content

Commit

Permalink
changed to support pi2
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesCaley committed Feb 26, 2015
1 parent 608633f commit 2bf0825
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# DOCKER-VERSION 1.0.0
FROM resin/rpi-raspbian:wheezy
RUN apt-get update
RUN apt-get install -y wget dialog
RUN wget http://node-arm.herokuapp.com/node_latest_armhf.deb
RUN dpkg -i node_latest_armhf.deb
RUN apt-get install -y git python make g++ libudev-dev libusb-1.0-0-dev
RUN apt-get install -y dialog

# armv6 - Pi v1
#RUN apt-get install -y wget
#RUN wget http://node-arm.herokuapp.com/node_latest_armhf.deb
#RUN dpkg -i node_latest_armhf.deb
#RUN apt-get install -y git python make g++ libudev-dev libusb-1.0-0-dev

# armv7 - Pi v2
RUN dpkg -r node
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup | bash -
RUN apt-get install -y git python make g++ libudev-dev libusb-1.0-0-dev build-essential nodejs

WORKDIR /src
ADD package.json /src/package.json
Expand Down

0 comments on commit 2bf0825

Please sign in to comment.