NetBeans 8.1 + JDK 1.8u71 bundle with unlimited strength policy jars
3.2K
Based on fgrehm/netbeans and dirichlet/netbeans but uses NetBeans 8.1 + JDK 1.8u71 bundle instead.
The following bash function example:
DISPLAY environment variablenetbeans(){
ACTIVE_MACHINE=$(docker-machine active)
X11HOST="$(docker-machine inspect $ACTIVE_MACHINE \
| grep HostOnlyCIDR \
| awk '{print $2}' \
| sed 's/"//g' \
| cut -f1 -d"/")"
docker run -d -it \
-e DISPLAY=$X11HOST:0.0 \
-e "TZ=America/Chicago" \
-v $HOME/Workspace/.netbeans:/root/.netbeans \
-v $HOME/Workspace/.m2:/root/.m2 \
-v $HOME/Workspace/github/<your repo name>:/root/repo \
--name netbeans \
psharkey/netbeans
}
Refer to psharkey/novnc for an alternative X11 configuration. Refer to Dockerfile for building images with other versions. NetBeans 8.0.2 + JDK 1.7u80 is provided as an example alternative tag.
Content type
Image
Digest
Size
414.4 MB
Last updated
over 8 years ago
docker pull psharkey/netbeans-8.1