Re-arranged Dockerfile to reduce container size
This commit is contained in:
15
Dockerfile
15
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
|
||||
|
||||
Reference in New Issue
Block a user