Skip to content

Commit

Permalink
Fix docker GCB builds to use 16 cores limit (youtube#466)
Browse files Browse the repository at this point in the history
b/275102272
  • Loading branch information
arjungm authored May 25, 2023
1 parent 0dd5aeb commit 77b6283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-windows-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ x-common-definitions: &common-definitions
volumes:
- ${COBALT_SRC:-.}:c:/code/
- ${SCCACHE_DIR:-container-sccache}:c:/root/sccache/
cpus: ${DOCKER_CPUS:-20}
cpus: ${DOCKER_CPUS:-16}
mem_limit: ${DOCKER_MEMLIMIT:-100000M}

x-shared-build-env: &shared-build-env
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ x-common-definitions: &common-definitions
volumes:
- ${COBALT_SRC:-.}:c:/code/
- ${SCCACHE_DIR:-container-sccache}:c:/root/sccache/
cpus: ${DOCKER_CPUS:-20}
cpus: ${DOCKER_CPUS:-16}
mem_limit: ${DOCKER_MEMLIMIT:-100000M}

x-shared-build-env: &shared-build-env
Expand Down

0 comments on commit 77b6283

Please sign in to comment.