diff --git a/Dockerfile b/Dockerfile index 06424b2..bb446e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,17 @@ 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 menu -RUN cd /root && git clone https://github.com/kanaka/noVNC.git + ADD startup.sh /startup.sh -RUN chmod 0755 /startup.sh + +RUN apt-get update -y && \ + apt-get install -y git x11vnc wget python python-numpy unzip Xvfb firefox openbox geany menu && \ + cd /root && git clone https://github.com/kanaka/noVNC.git && \ + chmod 0755 /startup.sh && \ + apt-get autoclean && \ + apt-get autoremove && \ + rm -rf /var/lib/apt/lists/* + CMD /startup.sh EXPOSE 6080