From 972036feb4eb87803743795050550d7e5976949d Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Wed, 16 Jul 2014 23:09:33 +0000 Subject: [PATCH] * Created devbox container --- devbox/Dockerfile | 27 +++++++++++++++++++++++++++ devbox/README.md | 5 +++++ 2 files changed, 32 insertions(+) create mode 100644 devbox/Dockerfile create mode 100644 devbox/README.md diff --git a/devbox/Dockerfile b/devbox/Dockerfile new file mode 100644 index 00000000..9a181178 --- /dev/null +++ b/devbox/Dockerfile @@ -0,0 +1,27 @@ +FROM itzg/ubuntu-openjdk-7 + +RUN apt-get update +RUN apt-get install -yq git curl wget unzip + +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 + +CMD bash diff --git a/devbox/README.md b/devbox/README.md new file mode 100644 index 00000000..91219c28 --- /dev/null +++ b/devbox/README.md @@ -0,0 +1,5 @@ +Provides a development/build environment for Java, Groovy, and NodeJS. + +* Provides 'gvm' for Groovy (and more) installation management +* Provides 'nave' for NodeJS installation management +* Pre-installs the latest NodeJS via nave