Dockerfile 776 B

123456789101112131415161718192021222324252627
  1. # std = slim ∪ {iproute2, ping}
  2. FROM debian:10.7
  3. RUN apt-get update \
  4. && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \
  5. i3-wm \
  6. tini \
  7. xinit \
  8. xserver-xorg-core \
  9. xserver-xorg-input-evdev \
  10. && rm --recursive /var/lib/apt/lists/
  11. # TODO merge
  12. RUN apt-get update \
  13. && apt-get install --no-install-recommends --yes py3status
  14. RUN setcap -r /usr/bin/i3status
  15. RUN sed --in-place 's/status_command i3status/status_command py3status/' /etc/i3/config*
  16. #RUN useradd --create-home nonroot \
  17. # && apt-get update \
  18. # && apt-get install --no-install-recommends --yes \
  19. # strace
  20. COPY xorg.conf /etc/X11/
  21. # TODO USER nonroot
  22. ENTRYPOINT ["/usr/bin/tini", "--"]
  23. CMD ["startx", "/usr/bin/i3"]