Clean up package caches and such

This commit is contained in:
Robin Dunn
2019-07-03 15:49:04 -07:00
parent 0d4ee1d8c4
commit 9400615bc8
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ RUN echo "mate-session &"> ~/.vnc/xstartup
# RUN echo "startlxde &"> ~/.vnc/xstartup
RUN sudo dnf -y remove *screensaver*
RUN sudo dnf clean all
RUN chmod u+x ~/.vnc/xstartup
RUN echo "password" | vncpasswd -f >> ~/.vnc/passwd

View File

@@ -12,6 +12,7 @@ RUN apt-get install -y \
# ubuntu-mate-desktop
RUN apt-get remove -y "*screensaver*"
RUN apt-get clean
USER ${USER}:${USER}
RUN touch ~/.Xauthority; \