Public | Automated Build

Last pushed: 5 days ago
Short Description
NetBeans nightly build + OpenJDK
Full Description

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.

Docker Pull Command
Owner
psharkey
Source Repository

Comments (0)