12345678910111213141516171819202122232425262728 |
- # std = slim ∪ {iproute2, ping}
- FROM debian:10.7
- # TODO pin package versions
- RUN apt-get update \
- && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \
- i3-wm \
- tini \
- xinit \
- xserver-xorg-core \
- xserver-xorg-input-evdev \
- && rm --recursive /var/lib/apt/lists/
- # TODO merge
- RUN apt-get update \
- && apt-get install --no-install-recommends --yes py3status
- RUN setcap -r /usr/bin/i3status
- RUN sed --in-place 's/status_command i3status/status_command py3status/' /etc/i3/config*
- #RUN useradd --create-home nonroot \
- # && apt-get update \
- # && apt-get install --no-install-recommends --yes \
- # strace
- COPY xorg.conf /etc/X11/
- # TODO USER nonroot
- ENTRYPOINT ["/usr/bin/tini", "--"]
- CMD ["startx", "/usr/bin/i3"]
|