mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
84154c3d64
* Added usage examples in README
25 lines
885 B
Markdown
25 lines
885 B
Markdown
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
|
|
|
|
## Using the persistent/shared workarea
|
|
|
|
Since devbox containers are intended to be disposable, the image is configured
|
|
with a "volume" at `/shared`.
|
|
|
|
There are a couple of ways you can leverage that volume. Either attach it to
|
|
a host-local directory:
|
|
|
|
docker run -it -v $(pwd)/workarea:/shared --rm itzg/devbox
|
|
|
|
or run a "base" container and mounts the `/shared` from that onto any
|
|
subsequent containers:
|
|
|
|
docker run --name devbox-base itzg/devbox touch /shared/READY
|
|
...later...
|
|
docker run -it --volumes-from devbox-base --rm itzg/devbox
|
|
|
|
**NOTE** I am using the `--rm` option so the devbox containers will be truly
|
|
"burn after use".
|