Public Repository

Last pushed: 2 years ago
Short Description
images for local software development
Full Description

use development tools from container to handle local sources ...

tl;dr

 docker run -it -v $(pwd):/app pgrund/devbox:<tag> <command>

Supported tags and respective Dockerfile links

base

all others refer to this one as parent image

content

volumes

project sources are supposed to be mounted under /app

defaults

/bin/bash is run as default command

java

java development providing multiple java versions in parallel via jenv

content

volumes

a local maven repository can be mounted to /root/.m2/repository as well as a local maven configuration can be mounted to /root.m2/settings.xml

examples

 docker run -it -v /path/to/local/repository:/root/.m2/repository -v /path/to/local/settings.xml:/root/.m2/settings.xml -v /path/to/local/maven/project:/app /pgrund/devbox:java mvn clean install

node

frontend development based on javascript

content

general tipps

It has come in handy to use local alias ...

alias mvn='docker run -it -v $HOME/.m2/repository:/root/.m2/repository -v $HOME/.m2/settings.xml:/root/.m2/settings.xml -v $(pwd):/app pgrund/devbox mvn $*'

For more information about these images and its history, please see the relevant GitHub repo.

Docker Pull Command
Owner
pgrund

Comments (0)