fix: correct dnf autoremove behaviour
All checks were successful
continuous-integration/drone/push Build is passing

* findutils was mistakenly getting removed at the end of each build
  while what I intended to do instead was to prevent removal of the
  package by autoremove and only use the -y flag to signal an always-yes
This commit is contained in:
surtur 2020-12-29 01:47:03 +01:00
parent 8acf526843
commit 753b3718e0
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -25,5 +25,5 @@ RUN dnf clean all -y \
find /. -name "*~" -type f -delete; \
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
rm -rv /tmp/* ; \
dnf autoremove -y findutils; dnf clean all -y || true
dnf autoremove -y -x findutils; dnf clean all -y || true
WORKDIR /