serverless-python-requirements
serverless-python-requirements copied to clipboard
Allow customizing the image name for alpine ( used to get docker uid)
Are you certain it's a bug?
- [X] Yes, it looks like a bug
Are you using the latest plugin release?
- [X] Yes, I'm using the latest plugin release
Is there an existing issue for this?
- [X] 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 - https://github.com/serverless/serverless-python-requirements/blob/4bbb80ed0c0150e04696513f37537eb3ab0002a4/lib/docker.js#L195
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