Dockerfile 558 B

12345678910111213141516171819202122
  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. #RUN useradd --create-home nonroot \
  12. # && apt-get update \
  13. # && apt-get install --no-install-recommends --yes \
  14. # strace
  15. COPY xorg.conf /etc/X11/
  16. # TODO USER nonroot
  17. ENTRYPOINT ["/usr/bin/tini", "--"]
  18. CMD ["startx", "/usr/bin/i3"]