Skip to content

Conversation

@ShelbyZ
Copy link
Contributor

@ShelbyZ ShelbyZ commented Nov 21, 2025

Summary

Long build times on AL2023 image (4-6 hours) seem to be related to the default NOFile limit set to infinity. By setting a distinct limit in the dockerfile during deps image build this is not an issue - docker/buildx#379

Testing

make release and make debug around normal 5-10min system depending...

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ShelbyZ ShelbyZ requested a review from a team as a code owner November 21, 2025 00:54
@prateekchaudhry
Copy link
Contributor

(non blocking but curious about this) - Long build times on AL2023 image (4-6 hours) - is the long build time only AL2023 recipe specific? Does AL2 build need an update too?

Thanks

@ShelbyZ
Copy link
Contributor Author

ShelbyZ commented Nov 24, 2025

(non blocking but curious about this) - Long build times on AL2023 image (4-6 hours) - is the long build time only AL2023 recipe specific? Does AL2 build need an update too?

Thanks

I only observed this on when building on AL2023 based system and specifically when building the AL2023 deps images.

@ShelbyZ ShelbyZ merged commit 36c17da into aws:mainline Nov 24, 2025
@ShelbyZ ShelbyZ deleted the al2023-build-fix branch November 24, 2025 19:22
mye956 added a commit to mye956/aws-for-fluent-bit that referenced this pull request Dec 10, 2025
mye956 added a commit that referenced this pull request Dec 11, 2025
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