Serverless-python-requirements: Docker progress

Created on 15 Dec 2017  路  3Comments  路  Source: UnitedIncome/serverless-python-requirements

Just getting things set up, serverless package was hanging every time after the following line:

Serverless: Docker Image: lambci/lambda:build-python3.6

I poked around and determined that it's just taking a quite long time (~15min) to pull the docker images. That's fine, but it was quite unclear at first. It would help to have some details on the command line, either a progress meter or at least a warning.

enhancement help wanted

Most helpful comment

See function ensureImage of the serverless-package-python-functions plugin.

They are using a docker images ... command to check if the image is already here or not, in order to display a warning message.

We could do the same I guess?

All 3 comments

See function ensureImage of the serverless-package-python-functions plugin.

They are using a docker images ... command to check if the image is already here or not, in order to display a warning message.

We could do the same I guess?

That's a good idea @cgrimal

I'm glad I saw this. I'm manually pulling the images so I can watch the progress bar. Would be helpful if STDOUT was passed through...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ceefour picture ceefour  路  3Comments

davegravy picture davegravy  路  5Comments

jnicho02 picture jnicho02  路  6Comments

xedef picture xedef  路  3Comments

chinalikai picture chinalikai  路  5Comments