Skip to content

Add support for extra Docker build options#2063

Closed
premun wants to merge 1 commit intodotnet:mainfrom
premun:prvysoky/allow-passing-docker-build-args
Closed

Add support for extra Docker build options#2063
premun wants to merge 1 commit intodotnet:mainfrom
premun:prvysoky/allow-passing-docker-build-args

Conversation

@premun
Copy link
Copy Markdown
Member

@premun premun commented Apr 2, 2026

We will need to pass --ulimit nofile=65536:65536 to the docker build command

dotnet/dotnet-buildtools-prereqs-docker#1621 (comment)

@premun premun requested a review from a team as a code owner April 2, 2026 13:11
@lbussell
Copy link
Copy Markdown
Member

lbussell commented Apr 2, 2026

Your description makes it sound like we had set a custom ulimit before, was that from a different extension point or in the base VM image?

Copy link
Copy Markdown
Member

@lbussell lbussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look OK to me, please add a brief description to eng/docker-tools/CHANGELOG.md.

@dkurepa
Copy link
Copy Markdown
Member

dkurepa commented Apr 3, 2026

Your description makes it sound like we had set a custom ulimit before, was that from a different extension point or in the base VM image?

it wasn't needed when we were running on the ubuntu image for some reason. After switching to the azurelinux one it started being a problem. Premek was able to verify this in https://dev.azure.com/dnceng/internal/_build/results?buildId=2942140&view=results

@dkurepa
Copy link
Copy Markdown
Member

dkurepa commented Apr 3, 2026

Premek is oof today and on Monday, I opened up #2064 with the added change logs. I couldn't push to his fork

@lbussell
Copy link
Copy Markdown
Member

lbussell commented Apr 3, 2026

Superseded by #2064

@lbussell lbussell closed this Apr 3, 2026
lbussell added a commit that referenced this pull request Apr 6, 2026
Ports #2063 to my fork since
I don't have access to Premeks

---------

Co-authored-by: Premek Vysoky <premek.vysoky@microsoft.com>
Co-authored-by: Logan Bussell <loganbussell@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants