Describe the bug
If your docker image is big and the push takes over ~ 5 minutes, the build fails just after the push.
To Reproduce
Steps to reproduce the behavior:
Prepare a Dockerfile where the sum of layer sizes will be greater 10 GB
Run e2b teplate build
Wait for push
Receive following error:
Terminal commands & output
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11 {
cause: Error: write ECONNRESET
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
at writevGeneric (node:internal/stream_base_commons:138:26)
at Socket._writeGeneric (node:net:950:11)
at Socket._writev (node:net:959:8)
at doWrite (node:internal/streams/writable:588:12)
at clearBuffer (node:internal/streams/writable:766:5)
at Writable.uncork (node:internal/streams/writable:523:7)
at AsyncWriter.write (node:internal/deps/undici/undici:9980:16)
at writeIterable (node:internal/deps/undici/undici:9915:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'write'
}
}
Desktop (please complete the following information):
Describe the bug If your docker image is big and the push takes over ~ 5 minutes, the build fails just after the push.
To Reproduce Steps to reproduce the behavior:
e2b teplate build
Terminal commands & output
Desktop (please complete the following information):
@e2b/cli==0.4.4