gtsam/docker/ubuntu-gtsam-python-vnc/Dockerfile

21 lines
602 B
Docker
Raw Normal View History

2020-06-03 05:33:57 +08:00
# This GTSAM image connects to the host X-server via VNC to provide a Graphical User Interface for interaction.
2018-10-29 05:34:41 +08:00
# Get the base Ubuntu/GTSAM image from Docker Hub
2020-06-03 06:02:14 +08:00
FROM dellaert/ubuntu-gtsam-python:latest
2018-10-29 05:34:41 +08:00
# Things needed to get a python GUI
ENV DEBIAN_FRONTEND noninteractive
2020-06-03 05:33:57 +08:00
RUN apt install -y python-tk
2018-10-29 05:34:41 +08:00
RUN pip install matplotlib
# Install a VNC X-server, Frame buffer, and windows manager
2020-06-03 05:33:57 +08:00
RUN apt install -y x11vnc xvfb fluxbox
2018-10-29 05:34:41 +08:00
# Finally, install wmctrl needed for bootstrap script
2020-06-03 05:33:57 +08:00
RUN apt install -y wmctrl
2018-10-29 05:34:41 +08:00
# Copy bootstrap script and make sure it runs
COPY bootstrap.sh /
CMD '/bootstrap.sh'