Skip to content

Commit

Permalink
Add support for su in Azure Linux build images (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
richlander authored Feb 8, 2025
1 parent 3f693e5 commit 4daa91c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/azurelinux/3.0/net10.0/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:10.0-preview-azurelinux3.0

RUN tdnf install -y \
nodejs \
# provides 'useradd', required by Azure DevOps
shadow-utils \
# Provides 'su', required by Azure DevOps
util-linux \
&& tdnf clean all
3 changes: 3 additions & 0 deletions src/azurelinux/3.0/net8.0/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-azurelinux3.0

RUN tdnf install -y \
nodejs \
# provides 'useradd', required by Azure DevOps
shadow-utils \
# Provides 'su', required by Azure DevOps
util-linux \
&& tdnf clean all
3 changes: 3 additions & 0 deletions src/azurelinux/3.0/net9.0/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:9.0-azurelinux3.0

RUN tdnf install -y \
nodejs \
# provides 'useradd', required by Azure DevOps
shadow-utils \
# Provides 'su', required by Azure DevOps
util-linux \
&& tdnf clean all

0 comments on commit 4daa91c

Please sign in to comment.