Avoid inherited virtual address cap breaking Docker Go client
Deploy Canina / deploy (push) Successful in 3m13s
Deploy Canina / deploy (push) Successful in 3m13s
This commit is contained in:
1 parent
93d43fb261
commit
7a081e28df
1 file changed
+1
-1
@@ -8,7 +8,7 @@ stage_runtime_provision() {
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 - <<'PY'
|
||||
import os, json, subprocess, importlib.util, resource, secrets, re, stat
|
||||
from pathlib import Path
|
||||
resource.setrlimit(resource.RLIMIT_AS, (1536*1024*1024, 1536*1024*1024))
|
||||
# Docker Go subprocess requires a larger virtual address reservation; source SQLite stays size-bounded.
|
||||
resource.setrlimit(resource.RLIMIT_CPU, (60, 60))
|
||||
resource.setrlimit(resource.RLIMIT_FSIZE, (64*1024*1024, 64*1024*1024))
|
||||
def docker(*args):
|
||||
|
||||
Reference in new issue
Block a user