Tern as Docker image #1138
-
Hello, Is Tern distributed as a Docker image is still in project ? Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ThiefaineM -- Tern does not have its own Docker image that you can pull from an existing container registry. However, you can build your own Docker image and run Tern using one of the Dockerfiles provided in the repo. We are currently focused on running Tern as a service in Kubernetes in favor of distributing a separate Docker image (see the API repository as well as the issue). Tern currently runs as a Kubernetes job using these directions. Note that the Dockerfiles in the repo I linked to will build Tern from the latest pypi release. If you want to install Tern from the tip of master, first clone Tern and run |
Beta Was this translation helpful? Give feedback.
Hi @ThiefaineM -- Tern does not have its own Docker image that you can pull from an existing container registry. However, you can build your own Docker image and run Tern using one of the Dockerfiles provided in the repo. We are currently focused on running Tern as a service in Kubernetes in favor of distributing a separate Docker image (see the API repository as well as the issue). Tern currently runs as a Kubernetes job using these directions.
Note that the Dockerfiles in the repo I linked to will build Tern from the latest pypi release. If you want to install Tern from the tip of master, first clone Tern and run
python setup.py bdist_wheel
. Then use this Dockerfile to build the container.