docker-library / busybox

Docker Official Image packaging for Busybox
http://busybox.net
388 stars 126 forks source link

Zip utility in Busybox #180

Closed phanirajkiran closed 1 year ago

phanirajkiran commented 1 year ago

Hi, I want to make a .zip file, which command can do this zip. I don't see zip command.

Thanks, Phanirajkiran

yosifkit commented 1 year ago

The busybox image just contains the set of utilities provided by the busybox binary. If a utility is not in the image, then it probably isn't available via busybox.

tar is available to create a compressed tar file with the busybox tools. Alternatively, I'd recommend just using alpine and installing any required tools since it is only marginally larger but more generally useful since it has a package manager.