Skip to content

Commit d37a414

Browse files
authored
Creating Busybox SBOM by not deleting the rpm db (#10395)
1 parent 2f66e79 commit d37a414

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.pipelines/containerSourceData/busybox/Dockerfile-Busybox

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ RUN mkdir /staging \
3333
&& pushd /staging \
3434
&& rm -rf boot media mnt opt run \
3535
&& rm -rf usr/lib/sysimage \
36-
&& rm -rf var/cache \
37-
&& rm -rf var/lib/rpm; \
36+
&& rm -rf var/cache; \
3837
ln -vL /staging/usr/sbin/busybox /staging/bin/; \
3938
chroot /staging /bin/busybox --install -s /bin
4039

0 commit comments

Comments
 (0)