Dockerfile 597 B

12345678910111213141516171819202122232425262728293031
  1. FROM debian:stretch
  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. socat \
  12. supervisor \
  13. x11vnc \
  14. xterm \
  15. xvfb
  16. # Setup demo environment variables
  17. ENV HOME=/root \
  18. DEBIAN_FRONTEND=noninteractive \
  19. LANG=en_US.UTF-8 \
  20. LANGUAGE=en_US.UTF-8 \
  21. LC_ALL=C.UTF-8 \
  22. DISPLAY=:0.0 \
  23. DISPLAY_WIDTH=1024 \
  24. DISPLAY_HEIGHT=768 \
  25. RUN_XTERM=yes \
  26. RUN_FLUXBOX=yes
  27. COPY . /app
  28. CMD ["/app/entrypoint.sh"]
  29. EXPOSE 8080