Bladeren bron

merge layers, delete apt lists

Fabian Peter Hammerle 4 jaren geleden
bovenliggende
commit
68adb37460
1 gewijzigde bestanden met toevoegingen van 9 en 5 verwijderingen
  1. 9 5
      Dockerfile

+ 9 - 5
Dockerfile

@@ -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"]