File tree Expand file tree Collapse file tree 7 files changed +25
-1
lines changed Expand file tree Collapse file tree 7 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:14.04.2
1+ FROM ubuntu:14.04.3
22MAINTAINER Doro Wu <fcwu.tw@gmail.com>
33
4+ # cache
5+ RUN sed -i 's#http://archive.ubuntu.com/#http://qnap.dorowu.com/#' /etc/apt/sources.list
6+
47ENV DEBIAN_FRONTEND noninteractive
58ENV HOME /root
69
@@ -30,6 +33,7 @@ ADD noVNC /noVNC/
3033ADD nginx.conf /etc/nginx/sites-enabled/default
3134ADD startup.sh /
3235ADD supervisord.conf /etc/supervisor/conf.d/
36+ ADD doro-lxde-wallpapers /usr/share/doro-lxde-wallpapers/
3337
3438EXPOSE 6080
3539WORKDIR /root
Original file line number Diff line number Diff line change 1+ [*]
2+ wallpaper_mode=stretch
3+ wallpaper_common=0
4+ wallpapers_configured=4
5+ wallpaper0=/usr/share/doro-lxde-wallpapers/bg1.jpg
6+ wallpaper1=/usr/share/doro-lxde-wallpapers/bg2.jpg
7+ wallpaper2=/usr/share/doro-lxde-wallpapers/bg3.jpg
8+ wallpaper3=/usr/share/doro-lxde-wallpapers/bg4.jpg
9+ desktop_bg=#000000
10+ desktop_fg=#ffffff
11+ desktop_shadow=#000000
12+ desktop_font=Sans 12
13+ show_wm_menu=0
14+ sort=mtime;ascending;mingle;
15+ show_documents=0
16+ show_trash=0
17+ show_mounts=0
18+
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ PASS=ubuntu
88# echo "Username: ubuntu Password: $PASS"
99id -u ubuntu & > /dev/null || useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu
1010echo " ubuntu:$PASS " | chpasswd
11+ sudo -u ubuntu -i bash -c " mkdir -p /home/ubuntu/.config/pcmanfm/LXDE/ \
12+ && cp /usr/share/doro-lxde-wallpapers/desktop-items-0.conf /home/ubuntu/.config/pcmanfm/LXDE/"
1113
1214cd /web && ./run.py > /var/log/web.log 2>&1 &
1315nginx -c /etc/nginx/nginx.conf
You can’t perform that action at this time.
0 commit comments