fix(image): update package cache cleanup command

Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
This commit is contained in:
Frederico Araujo 2022-03-16 15:48:33 -04:00 committed by poiana
parent 4f5fb12a13
commit 04cadee6fa

View File

@ -30,7 +30,7 @@ RUN dnf -y update && \
llvm-toolset \ llvm-toolset \
clang \ clang \
kmod \ kmod \
&& rm -rf /var/lib/apt/lists/* && dnf -y clean all ; rm -rf /var/cache/{dnf,yum}
RUN mkdir /build && cd /build/ && curl --remote-name-all -L https://github.com/dell/dkms/archive/refs/tags/v3.0.3.tar.gz && \ RUN mkdir /build && cd /build/ && curl --remote-name-all -L https://github.com/dell/dkms/archive/refs/tags/v3.0.3.tar.gz && \
tar xvf v3.0.3.tar.gz && cd dkms-3.0.3 && make install-redhat && rm -rf /build tar xvf v3.0.3.tar.gz && cd dkms-3.0.3 && make install-redhat && rm -rf /build