fix: correct dnf autoremove behaviour
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
8acf526843
commit
753b3718e0
@ -25,5 +25,5 @@ RUN dnf clean all -y \
|
|||||||
find /. -name "*~" -type f -delete; \
|
find /. -name "*~" -type f -delete; \
|
||||||
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
|
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
|
||||||
rm -rv /tmp/* ; \
|
rm -rv /tmp/* ; \
|
||||||
dnf autoremove -y findutils; dnf clean all -y || true
|
dnf autoremove -y -x findutils; dnf clean all -y || true
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
Loading…
Reference in New Issue
Block a user