diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8806796 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM ubuntu:bionic + +ENV TZ=Europe/Paris +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get update &&\ + apt-get install -y python2.7 python-gtk2 glade python-gtk-vnc python-glade2 python-configobj python-setuptools python-raven + +RUN mkdir -p /opt/openxenmanager +COPY . /opt/openxenmanager +RUN cd /opt/openxenmanager && python setup.py install + +CMD openxenmanager \ No newline at end of file diff --git a/README.md b/README.md index db68fd1..87dd45d 100755 --- a/README.md +++ b/README.md @@ -39,6 +39,16 @@ pip install raven OpenXenManager runs has been tested to run on Linux or Windows and should work on MacOSX as well. +Running OpenXenManager in Docker +================================ + +Build: + + docker build -t openxenmanger . + +Run: + + docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix openxenmanager openxenmanager Help / bug reports ==================