2014-07-16 23:09:33 +00:00
|
|
|
FROM itzg/ubuntu-openjdk-7
|
|
|
|
|
|
|
|
RUN apt-get update
|
2014-07-17 01:56:03 +00:00
|
|
|
RUN apt-get install -yq git curl wget unzip openjdk-7-jdk
|
2014-07-16 23:09:33 +00:00
|
|
|
|
|
|
|
ENV MAVEN_VER 3.2.2
|
|
|
|
ENV NODEJS_VER 0.10.29
|
|
|
|
|
|
|
|
WORKDIR /opt
|
|
|
|
|
|
|
|
RUN wget -O /tmp/maven.tgz http://apache.mirrors.pair.com/maven/maven-3/$MAVEN_VER/binaries/apache-maven-$MAVEN_VER-bin.tar.gz
|
|
|
|
RUN tar xvf /tmp/maven.tgz && rm /tmp/maven.tgz
|
|
|
|
ENV M2_HOME /opt/apache-maven-$MAVEN_VER
|
|
|
|
ENV PATH $PATH:$M2_HOME/bin
|
|
|
|
|
|
|
|
RUN curl -s https://raw.githubusercontent.com/isaacs/nave/master/nave.sh > /usr/local/bin/nave
|
|
|
|
RUN chmod +x /usr/local/bin/nave
|
|
|
|
RUN nave usemain latest
|
|
|
|
|
|
|
|
WORKDIR /root
|
|
|
|
env HOME /root
|
|
|
|
|
|
|
|
VOLUME ["/shared"]
|
|
|
|
|
|
|
|
RUN curl -s get.gvmtool.net | bash
|
|
|
|
|
2014-07-17 01:56:03 +00:00
|
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
2014-07-16 23:09:33 +00:00
|
|
|
CMD bash
|