Public Repository

Last pushed: 2 years ago
Short Description
Raspberry Pi 2 + MongoDB + Node.js + Phantomjs + Java + node modules
Full Description
# Build it yourself with
FROM theotheu/rpi-mongodb-node

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update

###################
# Node modules
###################
RUN npm install -g --unsafe-perm nodemon protractor forever mocha

###################
# Oracle Java
###################
# Reference: https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/
RUN wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u33-b05/jdk-8u33-linux-arm-vfp-hflt.tar.gz"

RUN tar zxvf jdk-8u33-linux-arm-vfp-hflt.tar.gz -C /opt

RUN update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_33/bin/javac 1
RUN update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_33/bin/java 1

RUN update-alternatives --config javac
RUN update-alternatives --config java

###################
# Phantomjs
###################
# Reference
# - https://github.com/aeberhardo/phantomjs-linux-armv6l
RUN apt-get install -y unzip bzip2
RUN cd /tmp
RUN wget https://github.com/aeberhardo/phantomjs-linux-armv6l/archive/master.zip
RUN unzip master.zip
RUN cd phantomjs-linux-armv6l-master && bunzip2 *.bz2 && tar xf *.tar
Docker Pull Command
Owner
theotheu