mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
kata-deploy: Remove unneeded yum cached files
Let's just remove the cached failes as those are not needed for anything we do when using this image. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
d01aebebae
commit
15e0a3c8f0
@ -13,6 +13,7 @@ RUN \
|
|||||||
yum -y update && \
|
yum -y update && \
|
||||||
yum install -y epel-release && \
|
yum install -y epel-release && \
|
||||||
yum install -y bzip2 jq && \
|
yum install -y bzip2 jq && \
|
||||||
|
yum clean all && \
|
||||||
mkdir -p ${DESTINATION} && \
|
mkdir -p ${DESTINATION} && \
|
||||||
tar xvf ${KATA_ARTIFACTS} -C ${DESTINATION}/ && \
|
tar xvf ${KATA_ARTIFACTS} -C ${DESTINATION}/ && \
|
||||||
chown -R root:root ${DESTINATION}/
|
chown -R root:root ${DESTINATION}/
|
||||||
|
Loading…
Reference in New Issue
Block a user