|
@@ -1,18 +1,22 @@
|
|
|
# std = slim ∪ {iproute2, ping}
|
|
|
FROM debian:10.7
|
|
|
|
|
|
-# TODO delete apt lists
|
|
|
RUN apt-get update \
|
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \
|
|
|
i3-wm \
|
|
|
tini \
|
|
|
xinit \
|
|
|
- xserver-xorg-core
|
|
|
-# TODO merge
|
|
|
-RUN apt-get install --yes xserver-xorg-input-evdev
|
|
|
+ xserver-xorg-core \
|
|
|
+ xserver-xorg-input-evdev \
|
|
|
+ && rm --recursive /var/lib/apt/lists/
|
|
|
+
|
|
|
+#RUN useradd --create-home nonroot \
|
|
|
+# && apt-get update \
|
|
|
+# && apt-get install --no-install-recommends --yes \
|
|
|
+# strace
|
|
|
|
|
|
COPY xorg.conf /etc/X11/
|
|
|
|
|
|
-# TODO change user
|
|
|
+# TODO USER nonroot
|
|
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
|
|
CMD ["startx", "/usr/bin/i3"]
|