We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee6f470 commit d938679Copy full SHA for d938679
1 file changed
dev-tools/mage/crossbuild.go
@@ -301,7 +301,7 @@ func (b GolangCrossBuilder) Build() error {
301
// basically, apt-get has a bug where will try to iterate through every possible FD as set by the NOFILE ulimit.
302
// On certain docker installs, docker will set the ulimit to a value > 10^9, which means apt-get will take >1 hour.
303
// This runs across all possible debian platforms, since there's no real harm in it.
304
- if strings.Contains(b.Platform, "debian") {
+ if strings.Contains(image, "debian") {
305
args = append(args, "--ulimit", "nofile=262144:262144")
306
}
307
0 commit comments