Dockerfile 804 B

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