forked from fcwu/docker-ubuntu-vnc-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (24 loc) · 915 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:18.04
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
# built-in packages
ENV DEBIAN_FRONTEND noninteractive
RUN apt update
RUN apt install -y build-essential
RUN apt install -y curl supervisor sudo net-tools xz-utils
RUN apt install -y vim-gtk openssh-server git xfonts-scalable
RUN apt install -y screen tightvncserver autocutsel
RUN apt install -y mate
RUN cd /tmp \
&& wget https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz \
&& xz -d node-v12.13.0-linux-x64.tar.xz \
&& tar xf node-v12.13.0-linux-x64.tar \
&& mv node-v12.13.0-linux-x64 /usr/local/node
RUN cd /tmp \
&& wget https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz \
&& tar zxf go1.13.5.linux-amd64.tar.gz \
&& mv go /usr/local/go
RUN mkdir /9
COPY startup.sh /
COPY supervisord.conf /
COPY x11vnc.sh /
CMD ["/startup.sh"]