Intel开发云免费申请,享受128核CPU和320Gb内存的超强性能
Github注册链接:https://github.com/
intel开发云注册链接:https://www.intel.cn/content/www/cn/zh/developer/tools/devcloud/overview.html
Dockerfile代码:
FROM debian
RUN dpkg --add-architecture i386
RUN apt update
RUN DEBIAN_FRONTEND=noninteractive apt install wine qemu-kvm *zenhei* xz-utils dbus-x11 curl firefox-esr gnome-system-monitor mate-system-monitor git xfce4 xfce4-terminal tightvncserver wget -y
RUN wget https://github.com/novnc/noVNC/archive/refs/tags/v1.2.0.tar.gz
RUN tar -xvf v1.2.0.tar.gz
RUN mkdir $HOME/.vnc
RUN echo 'Sophia' | vncpasswd -f > $HOME/.vnc/passwd
RUN echo '/bin/env MOZ_FAKE_NO_SANDBOX=1 dbus-launch xfce4-session' > $HOME/.vnc/xstartup
RUN chmod 600 $HOME/.vnc/passwd
RUN chmod 755 $HOME/.vnc/xstartup
RUN echo 'whoami ' >>/Sophia.sh
RUN echo 'cd ' >>/Sophia.sh
RUN echo "su -l -c 'vncserver :2000 -geometry 1360x768' " >>/Sophia.sh
RUN echo 'cd /noVNC-1.2.0' >>/Sophia.sh
RUN echo './utils/launch.sh --vnc localhost:7900 --listen 8900 ' >>/Sophia.sh
RUN chmod 755 /Sophia.sh
EXPOSE 8900
CMD /Sophia.sh