serverless / serverless-python-requirements

⚡️🐍📦 Serverless plugin to bundle Python packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow customizing the image name for alpine ( used to get docker uid)

bhiravabhatla opened this issue · comments

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 -

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