Allow customizing the image name for alpine ( used to get docker uid)
bhiravabhatla opened this issue · comments
Santosh Kumar Bhiravabhatla commented
Are you certain it's a bug?
- Yes, it looks like a bug
Are you using the latest plugin release?
- Yes, I'm using the latest plugin release
Is there an existing issue for this?
- I have searched existing issues, it hasn't been reported yet
Issue description
Using python requirements to develop in a airgapped environment.
Before the pip dependencies are downloaded - we check for docker uid by using alpine image here -
serverless-python-requirements/lib/docker.js
Line 195 in 4bbb80e
As there is no way to override this image - image name is hardcoded - unable to proceed. Deployment fails with docker error 125.
As a work around for now if retag the image from our registry to alpine:latest locally - it proceeds. But cant do the same in CI.
Please help!
Service configuration (serverless.yml) content
N/A
Command name and used flags
N/A
Command output
N/A
Environment information
N/A