mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
* Created devbox container
This commit is contained in:
parent
6dbbcf61b7
commit
972036feb4
2 changed files with 32 additions and 0 deletions
27
devbox/Dockerfile
Normal file
27
devbox/Dockerfile
Normal file
|
@ -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
|
5
devbox/README.md
Normal file
5
devbox/README.md
Normal file
|
@ -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
|
Loading…
Reference in a new issue