diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..eb10b06 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:trusty +MAINTAINER paimpozhil@gmail.com +RUN apt-get update -y +ENV DEBIAN_FRONTEND noninteractive +RUN apt-get install -y git x11vnc wget python python-numpy unzip Xvfb firefox openbox geany +RUN cd /root && git clone https://github.com/kanaka/noVNC.git +ADD startup.sh /startup.sh +RUN chmod 0755 /startup.sh +CMD /startup.sh +EXPOSE 6080 diff --git a/startup.sh b/startup.sh new file mode 100644 index 0000000..c6299ca --- /dev/null +++ b/startup.sh @@ -0,0 +1,3 @@ +#!/bin/bash +x11vnc -create -forever -ncache 10 -ncache_cr & +cd /root/noVNC && ./utils/launch.sh --vnc localhost:5900