Dockerfile 611 B

1234567891011121314151617181920
  1. # This GTSAM image connects to the host X-server via VNC to provide a Graphical User Interface for interaction.
  2. # Get the base Ubuntu/GTSAM image from Docker Hub
  3. FROM borglab/ubuntu-gtsam-python:bionic
  4. # Things needed to get a python GUI
  5. ENV DEBIAN_FRONTEND noninteractive
  6. RUN apt install -y python-tk
  7. RUN python3 -m pip install matplotlib
  8. # Install a VNC X-server, Frame buffer, and windows manager
  9. RUN apt install -y x11vnc xvfb fluxbox
  10. # Finally, install wmctrl needed for bootstrap script
  11. RUN apt install -y wmctrl
  12. # Copy bootstrap script and make sure it runs
  13. COPY bootstrap.sh /
  14. CMD '/bootstrap.sh'