clean all zypper cache

This commit is contained in:
Syping 2024-03-22 02:25:31 +01:00
parent d52cb4cfe2
commit e257adea8a

View file

@ -1,6 +1,6 @@
FROM opensuse/leap:15.5 FROM opensuse/leap:15.5
RUN zypper install -y cmake make gcc9-c++ git perl 'perl(IPC::Cmd)' rpmdevtools rpmlint systemd-rpm-macros system-user-mail && \ RUN zypper install -y cmake make gcc9-c++ git perl 'perl(IPC::Cmd)' rpmdevtools rpmlint systemd-rpm-macros system-user-mail && \
zypper clean zypper clean -a
RUN useradd -m -s /bin/bash -U rpmbuild RUN useradd -m -s /bin/bash -U rpmbuild
USER rpmbuild USER rpmbuild
WORKDIR /home/rpmbuild WORKDIR /home/rpmbuild