You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lingxian Kong a7496f4e16
Create trust for functions
5 years ago
Dockerfile Disable python buffer for stdout/stderr 6 years ago Support python function input 6 years ago
requirements.txt Support Keystone session in python runtime 6 years ago Create trust for functions 5 years ago

Qinling: Python Environment

This is the Python environment for Qinling.

It's a Docker image containing a Python 2.7 runtime, along with a dynamic loader. A few common dependencies are included in the requirements.txt file. End users need to provide their own dependencies in their function packages through Qinling API or CLI.

Rebuilding and pushing the image

You'll need access to a Docker registry to push the image, by default it's docker hub. After modification, build a new image and upload to docker hub:

docker build -t USER/python-runtime . && docker push USER/python-runtime

Using the image in Qinling

After the image is ready in docker hub, create a runtime in Qinling:

http POST name=python2.7 image=USER/python-runtime