Skip to content

Commit 47141d2

Browse files
author
Bert Lorenz
authored
Update Dockerfile
1 parent 9d4c4aa commit 47141d2

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

Dockerfile

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
1-
FROM ubuntu
1+
FROM ubuntu:trusty
22

33
ENV DEBIAN_FRONTEND noninteractive
44

5-
#Add Files
65
ADD startup.sh /startup.sh
7-
RUN chmod +x /startup.sh
86

9-
#Install Prerequisites
10-
RUN apt-get update && apt-get upgrade && apt-get dist-upgrade
11-
RUN apt-get install git x11vnc wget python python-numpy unzip xvfb firefox openbox geany menu -y
12-
RUN apt-get install gnucash -y
7+
RUN apt-get update -y && \
8+
apt-get install -y git x11vnc wget python python-numpy unzip Xvfb firefox openbox geany menu && \
9+
cd /root && git clone https://github.com/kanaka/noVNC.git && \
10+
cd noVNC/utils && git clone https://github.com/kanaka/websockify websockify && \
11+
cd /root && \
12+
chmod 0755 /startup.sh && \
13+
apt-get autoclean && \
14+
apt-get autoremove && \
15+
rm -rf /var/lib/apt/lists/*
1316

14-
#Get noVNC
15-
RUN cd /root && git clone https://github.com/kanaka/noVNC.git
16-
RUN cd /root/noVNC/utils && git clone https://github.com/kanaka/websockify websockify
17-
18-
#Cleanup
19-
RUN apt-get autoclean && apt-get autoremove
20-
21-
#Run
2217
CMD /startup.sh
23-
24-
#Ports
2518
EXPOSE 6080

0 commit comments

Comments
 (0)