Open rapope36 opened 3 weeks ago
Thank you for opening this issue, we will look into it.
The base OS is changed to Azure Linux in 2.64.0
Please run tdnf install shadow-utils
before using addgroup
PS: We'll move to Azure Linux 3 later and I don't know how to do this in Azure Linux 3. Please create an issue in https://github.com/microsoft/azurelinux/issues
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?