forked from docker-easyconnect/docker-easyconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 944 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (20 loc) · 944 Bytes
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
FROM debian:buster-slim
RUN sed -i s/deb.debian.org/mirrors.cqu.edu.cn/ /etc/apt/sources.list &&\
apt-get update && \
apt-get install -y --no-install-recommends --no-install-suggests \
libgtk2.0-0 libx11-xcb1 libxtst6 libnss3 libasound2 libdbus-glib-1-2 iptables xclip\
dante-server tigervnc-standalone-server tigervnc-common dante-server psmisc flwm x11-utils\
busybox && \
ln -s "$(which busybox)" /usr/local/bin/ip
ARG EC_URL
RUN cd tmp &&\
busybox wget "${EC_URL}" -O EasyConnect.deb &&\
dpkg -i EasyConnect.deb && rm EasyConnect.deb
COPY ./docker-root /
RUN rm -f /usr/share/sangfor/EasyConnect/resources/conf/easy_connect.json &&\
mv /usr/share/sangfor/EasyConnect/resources/conf/ /usr/share/sangfor/EasyConnect/resources/conf_backup &&\
ln -s /root/conf /usr/share/sangfor/EasyConnect/resources/conf
#ENV TYPE="" PASSWORD="" LOOP=""
#ENV DISPLAY
VOLUME /root/
CMD ["start.sh"]