# Build a Spotfire package for Spotfire Service for Python (Linux)

The installation of the Spotfire Service for Python on your Spotfire Server includes a dockerfile that you can use to deploy a collection of Python packages to a Spotfire Server and node manager running on the Linux operating system.

If you do not have login credentials for the Spotfire Server running on Linux, or if you have a large deployment of node managers running the Spotfire Service for Python on Linux, then it might not be possible to install packages directly on the server. In this case, you can build your Spotfire package (SPK) containing the packages to distribute using a Docker container.

Note: debian:12-slim is our preferred Linux distribution for use with the Spotfire Service for Python.

This version of the Spotfire Service for Python includes dockerfiles that you can use to build an SPK for packages to use with the Spotfire Service for Python. You can build the SPK from either Windows or Linux.

Table 1. Tools to build the Spotfire package (SPK)
Tool | Description
--- | ---
python-build-base | Contains a full Python build environment including all necessary dependencies.
spotfire-spk | Used to call the python-build-base container to build the interpreter or the SPKs containing the packages for the Spotfire Service for Python.