Azure / Azure/azure-cli

Missing 'zip' command

Open
#27,842 11 comments 0 reactions 1 assignee Claimed by @bebound View on GitHub
Azure CLI Team customer-reported question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Having the following error in my gitlab pipeline starting from today.
`/bin/bash: line 272: zip: command not found`

I suspect the reason is moving out 'zip' package.

### Related command

```
script:
- zip -r ${ARTIFACTS_ZIP_RELATIVE} .
```

### Errors

/bin/bash: line 272: zip: command not found

### Issue script & Debug output

/bin/bash: line 272: zip: command not found

### Expected behavior

Running without errors.

### Environment Summary

the latest (2.54.0) docker image
Using docker image sha256:26e402082d83c7a0adfea18dc4b402f6c72c5dfcd607972190cbf7d69d9527a1 for mcr.microsoft.com/azure-cli with digest mcr.microsoft.com/azure-cli@sha256:81459f7ca76c41ad8582bca1ab7bfb332ad9f5be6382bf89b99911dd2616ab08

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.