Obsolete command
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
I am building latest azure-cli:2.64.0 in docker with some additional steps and it seems some commands don't work anymore although it used to work until azure-cli:2.56.0 (the latest version I was using).
2.63.0 works fine as well :)
### Related command
addgroup
### Errors
/bin/sh: line 1: addgroup: command not found
### Issue script & Debug output
Dockerfile:
FROM mcr.microsoft.com/azure-cli:2.64.0
# Configure users and groups for non-privileged use
RUN addgroup user -g 1000 && adduser -h /home/user -s /bin/bash -G user -u 1000 -D user \
&& addgroup vsts -g 1001 && adduser -h /home/vsts -s /bin/bash -G vsts -u 1001 -D vsts
### Expected behavior
Adding the group and user.
### Environment Summary
azure-cli 2.63.0 *
core 2.63.0 *
telemetry 1.1.0
Extensions:
azure-devops 1.0.1
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home/cloudtest/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Jul 31 2024, 03:39:39) [GCC 11.4.0]
### Additional context
Did you happen to change the kernel...I assume there are more commands that have been replaced, correct?
Contributor guide
Assessment
This issue has not been assessed yet.