@@ -198,37 +198,6 @@ client.close()
198198
199199` cpu ` , ` memory_mib ` , and ` disk_mib ` are only supported for image launches.
200200
201- ### Configure remote image-builder resources
202-
203- ``` python
204- from hyperbrowser import Hyperbrowser
205-
206- client = Hyperbrowser()
207- build = client.sandboxes.build_image_from_dockerfile(
208- context_path = " ./environment" ,
209- image_name = " custom-world" ,
210- builder_cpus = 8 ,
211- builder_memory_mib = 16384 ,
212- builder_scratch_mib = 65536 ,
213- )
214- print (build.image_id)
215- client.close()
216- ```
217-
218- These optional settings control the remote image-builder VM, independently of
219- the resources of sandboxes launched from the resulting image. Memory and scratch
220- disk sizes are in MiB. Overrides require the team's
221- ` custom_image_builder_resources ` feature flag; enabling the flag alone does not
222- increase resources. Omitted settings use the service defaults (currently 2 vCPUs,
223- 4096 MiB memory, and 65536 MiB scratch disk). The service currently permits up to
224- 8 vCPUs, 16384 MiB memory, and 65536 MiB scratch disk.
225-
226- The same options are available on ` build_image_from_docker_image ` and in the
227- dictionary or legacy model passed to ` create_image_build ` , with both sync and
228- async clients. With ` remote=False ` , Dockerfile compilation uses local Docker;
229- these settings apply only to the subsequent remote image conversion. An exact
230- image cache hit reuses the existing image without starting a builder VM.
231-
232201### Manage volumes and mount them in a sandbox
233202
234203``` python
0 commit comments