|
@@ -1,19 +1,11 @@
|
|
|
-FROM debian:buster
|
|
|
+FROM ubuntu:bionic
|
|
|
|
|
|
# Install git, supervisor, VNC, & X11 packages
|
|
|
RUN set -ex; \
|
|
|
+ export DEBIAN_FRONTEND=noninteractive; \
|
|
|
apt-get update; \
|
|
|
apt-get install -y \
|
|
|
- bash \
|
|
|
- fluxbox \
|
|
|
- git \
|
|
|
- net-tools \
|
|
|
- novnc \
|
|
|
- supervisor \
|
|
|
- x11vnc \
|
|
|
- xterm \
|
|
|
- xvfb
|
|
|
-
|
|
|
+ xfce4 vnc4server xfce4-terminal supervisor novnc
|
|
|
# Setup demo environment variables
|
|
|
ENV HOME=/root \
|
|
|
DEBIAN_FRONTEND=noninteractive \
|
|
@@ -22,9 +14,19 @@ ENV HOME=/root \
|
|
|
LC_ALL=C.UTF-8 \
|
|
|
DISPLAY=:0.0 \
|
|
|
DISPLAY_WIDTH=1024 \
|
|
|
- DISPLAY_HEIGHT=768 \
|
|
|
- RUN_XTERM=yes \
|
|
|
- RUN_FLUXBOX=yes
|
|
|
+ DISPLAY_HEIGHT=768
|
|
|
+
|
|
|
+RUN apt-get install -y \
|
|
|
+ language-pack-zh-hans \
|
|
|
+ fonts-droid-fallback \
|
|
|
+ ttf-wqy-zenhei \
|
|
|
+ ttf-wqy-microhei \
|
|
|
+ fonts-arphic-ukai \
|
|
|
+ fonts-arphic-uming
|
|
|
+
|
|
|
COPY . /app
|
|
|
+COPY xstartup /root/.vnc/xstartup
|
|
|
+COPY passwd /root/.vnc/passwd
|
|
|
CMD ["/app/entrypoint.sh"]
|
|
|
EXPOSE 8080
|
|
|
+EXPOSE 5900
|