diff --git a/docker/Dockerfile b/docker/Dockerfile index 0b20db6953bb70b8b5c830a99700cd2a0e64f9a1..ed7b8286f28749ab09d157bf5621664443257119 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,10 +25,7 @@ RUN apt-get update -y && apt-get install -y cmake \ libeigen3-dev \ libboost-all-dev \ libpng-dev \ - qt5-qmake \ - qtbase5-dev \ python3-all \ - python3-pyqt5 \ python3-numpy \ python3-scipy \ python3-pandas \ @@ -83,7 +80,8 @@ RUN cd ${SRC_FOLDER} && \ -DOPEN_MM_INCLUDE_DIR=$OPENMM_INCLUDE_PATH \ -DOPEN_MM_PLUGIN_DIR=$OPENMM_LIB_PATH/plugins \ -DENABLE_GFX=ON \ - -DENABLE_GUI=ON \ + -DENABLE_GUI=OFF \ + -DENABLE_INFO=OFF \ -DCMAKE_C_FLAGS="-isystem /usr/include/boost/ -isystem ${OPENMM_INCLUDE_PATH}/include" \ -DCMAKE_CXX_FLAGS="-isystem /usr/include/boost/ -isystem ${OPENMM_INCLUDE_PATH}/include" && \ make -j ${CPUS_FOR_MAKE} && \ @@ -100,7 +98,6 @@ WORKDIR /home ENV OST_ROOT="/usr/local" ENV PYTHONPATH="/usr/local/lib64/python3.8/site-packages" ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64:/usr/local/openmm/lib/" -ENV QT_X11_NO_MITSHM=1 ENV OPENSTRUCTURE_VERSION=$OPENSTRUCTURE_VERSION ENTRYPOINT ["ost"] diff --git a/docker/README.rst b/docker/README.rst index 974c4807bf59ac504fb800ae89f5286a093ab314..10656dce5a40881ee2eb2045300480cdb4cd137b 100644 --- a/docker/README.rst +++ b/docker/README.rst @@ -164,17 +164,6 @@ To see the help for compare-structures action run: cd <PATH TO OST>/docker ./run_docker_ost <IMAGE NAME> compare-structures -Run GUI -------- - -The container is built with GUI support, but this is still to be considered an -experimental feature as it is known to depend on some properties of the host -where Docker is run. What works on some Linux machines is the following: - -.. code-block:: bash - - xhost +local:docker - docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --entrypoint dng <IMAGE NAME> Running other commands ----------------------