Obsolete command #29839
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
Milestone
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?
The text was updated successfully, but these errors were encountered: