Skip to content
Prev Previous commit
Next Next commit
add util-linux for useradd
  • Loading branch information
eerhardt committed Apr 13, 2023
commit 4f38705f68f2d866c8423372dc76897f6c96211d
5 changes: 5 additions & 0 deletions eng/docker/rhel.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Dockerfile that creates a container suitable to build dotnet-cli
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm

RUN tdnf update -y && \
tdnf install -y \
# Provides 'su', required by Azure DevOps
util-linux

# Setup User to match Host User, and give superuser permissions
ARG USER
ARG USER_ID
Expand Down