Configuring a Custom Startup Script to Build a Custom Docker Image
You can provide a startup script that is installed and configured on your Spotfire Server to build a custom Docker image for your Spotfire Service for Python.
Perform this task from the command line on the computer where your
Spotfire Server is installed, and on the computer where your node manager is installed. For more information about the startup script, see
Startup Script.
Prerequisites
- You must have a Linux computer where the node manager is installed. (Your node manager and Spotfire Server can be on different computers).
- If you are using the script to build the base Docker image, you must have a connection to the internet. (A connection to the internet is not required if you are using a locally-available Docker image.)
Procedure
What to do next
If problems occur, troubleshoot by examining the Dockerfile that Spotfire Service for Python writes. After the service runs, this Dockerfile is available at the root service directory on the computer running the node manager. For example, /opt/tibco/tsnm/<server version_#>/nm/services/Python service Linux-<version_#_ID>/dockerfile/Dockerfile
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.