image_name=adapt_wxformbuilder
container_name=adapt_wxformbuilder

# Location of this script.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/utilities.sh

start_container $image_name $container_name

docker exec -it \
    -e "DISPLAY" \
    -e "QT_X11_NO_MITSHM=1" \
    $container_name \
    /bin/bash -c "/home/user/wxFormBuilder/output/bin/wxformbuilder"

remove_container $container_name
