From 72fdf599bd380279fea78774fa65cf604cb27756 Mon Sep 17 00:00:00 2001 From: Paimpozhil Date: Sun, 31 Aug 2014 17:25:35 +0000 Subject: [PATCH] This is the initial commit --- Dockerfile | 10 ++++++++++ startup.sh | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile create mode 100644 startup.sh 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