# This has a gdb with Python 3.5.2 FROM ubuntu:16.04 RUN < main.cpp #include int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QString hello = "Hello"; return app.exec(); } EOT cat <<-EOT > tmp.pro TEMPLATE = app TARGET = tmp INCLUDEPATH += . CONFIG += debug SOURCES += main.cpp EOT qmake make EOF