Dockerfile 582 B

123456789101112131415161718192021222324252627282930
  1. FROM debian:buster
  2. # Install git, supervisor, VNC, & X11 packages
  3. RUN set -ex; \
  4. apt-get update; \
  5. apt-get install -y \
  6. bash \
  7. fluxbox \
  8. git \
  9. net-tools \
  10. novnc \
  11. supervisor \
  12. x11vnc \
  13. xterm \
  14. xvfb
  15. # Setup demo environment variables
  16. ENV HOME=/root \
  17. DEBIAN_FRONTEND=noninteractive \
  18. LANG=en_US.UTF-8 \
  19. LANGUAGE=en_US.UTF-8 \
  20. LC_ALL=C.UTF-8 \
  21. DISPLAY=:0.0 \
  22. DISPLAY_WIDTH=1024 \
  23. DISPLAY_HEIGHT=768 \
  24. RUN_XTERM=yes \
  25. RUN_FLUXBOX=yes
  26. COPY . /app
  27. CMD ["/app/entrypoint.sh"]
  28. EXPOSE 8080