脚本优化
This commit is contained in:
parent
5f5bb24706
commit
fcb1908e29
@ -11,9 +11,6 @@ RUN apt-get update -y && \
|
||||
# 安装vnc和自动化相关工具
|
||||
RUN apt-get install -y supervisor xvfb x11vnc fluxbox novnc xdotool
|
||||
|
||||
# 设置 VNC 密码
|
||||
RUN mkdir ~/.vnc && x11vnc -storepasswd vncpass ~/.vnc/passwd
|
||||
|
||||
# 安装中文字体
|
||||
RUN apt-get install -y ttf-wqy-microhei locales procps \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
@ -48,6 +45,9 @@ RUN useradd -m app && usermod -aG sudo app && echo 'app ALL=(ALL) NOPASSWD:ALL'
|
||||
USER app
|
||||
WORKDIR /home/app
|
||||
|
||||
# 设置 VNC 密码
|
||||
RUN mkdir ~/.vnc && x11vnc -storepasswd vncpass ~/.vnc/passwd
|
||||
|
||||
# 安装wine-mono和中文字体
|
||||
COPY install-wine-mono.sh ./
|
||||
COPY install-wine-chinese.sh ./
|
||||
|
Loading…
Reference in New Issue
Block a user