Sign inSign up

psharkey/netbeans-openjdk

By psharkey

Updated about 9 years ago

NetBeans nightly build + OpenJDK

Image
0

1.1K

psharkey/netbeans-openjdk repository overview

Based on fgrehm/netbeans and dirichlet/netbeans but uses NetBeans nightly build on top of the Maven/OpenJDK official image.

The following bash function example for Docker/native OS X:

netbeans(){
        del_stopped netbeans-dev
        DISPLAY_MAC=`ifconfig en0 | grep "inet " | cut -d " " -f2`:0
        docker run -d -it \
                -e DISPLAY=$DISPLAY_MAC \
                -e "TZ=America/Chicago" \
                -v $HOME/Workspace/.netbeans:/root/.netbeans \
                --volumes-from github \
                --volumes-from m2 \
                -v /var/run/docker.sock:/var/run/docker.sock \
                --name netbeans \
                psharkey/netbeans:latest
}
startx() {
    if [ -z "$(ps -ef|grep XQuartz|grep -v grep)" ] ; then
        open -a XQuartz
        socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
    fi
}

Refer to psharkey/novnc for an alternative X11 configuration.

Tag summary

Content type

Image

Digest

Size

483.1 MB

Last updated

about 9 years ago

docker pull psharkey/netbeans-openjdk