The official process generating a list of images covering most used Python versions and variations(grpc/http/kafka) of the Python agent is deployed to our GitHub actions and therefore do not rely on this documentation.
This documentation shows the way to build and push the SkyWalking Python images manually.
Before building the latest release of images, make sure an official release is pushed to PyPI where the dockerfile will depend on.
The process generating a list of images covering most used Python versions and variations(grpc/http/kafka) of the Python agent is deployed to our GitHub actions.
The convenience images are published to DockerHub
Issue the following commands to build relevant docker images for the Python agent. The make command will generate three images(grpc, http, kafka) for each Python version supported.
At the root folder -
export AGENT_VERSION=<version> make build-image
Or at the docker folder -
cd docker export AGENT_VERSION=<version> make
After a SkyWalking Apache release for the Python agent and wheels have been pushed to PyPI:
Build images from the project root, this step pulls agent wheel from PyPI and installs it:
export AGENT_VERSION=<version> make build-image
Verify the images built.
Push built images to docker hub repos:
make push-image