π Bug description
On a project with runtime: rust, hitting the localhost server crashes:
$ serverless localhost
Serverless: Starting server...
Serverless: Listening on port 3000...
Serverless: β― Function routes
Serverless: * world
Serverless: get http://localhost:3000/
Serverless: Docker image not present
Serverless: Pulling lambci/lambda:rust image...
Type Error ---------------------------------------------
TypeError: Cannot read property 'pipe' of null
at Modem.followProgress (node_modules/docker-modem/lib/modem.js:319:10)
at node_modules/serverless-localhost/src/docker.ts:36:20
at node_modules/dockerode/lib/docker.js:119:7
at node_modules/docker-modem/lib/modem.js:265:7
at IncomingMessage.<anonymous> (node_modules/docker-modem/lib/modem.js:284:9)
at IncomingMessage.emit (events.js:215:7)
at IncomingMessage.EventEmitter.emit (domain.js:475:20)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
I think that's because the image lambci/lambda:rust does not exist on docker hub. Should that be lambci/lambda:provided?
The exception itself seems to come from apocas/docker-modem#93
π Bug description
On a project with
runtime: rust, hitting the localhost server crashes:I think that's because the image
lambci/lambda:rustdoes not exist on docker hub. Should that belambci/lambda:provided?The exception itself seems to come from apocas/docker-modem#93