Building ThingWorx Docker Images
After completing the setup, you can use the build script to create the ThingWorx Docker images. The included script takes the variables set in the build.env file and works with the files in the staging folder to make sure the Docker build command has the appropriate variables and build context available.
To build the images, run the following command: ./ <type>
<type> can be one of the following values:
After the build process completes, the following Docker images are available, depending on the content provider you built:
Platform Docker image: thingworx/platform-h2:latest
Platform Docker image: thingworx/platform-postgres:latest
PostgreSQL DB Init Docker image: thingworx/postgresql-init-twx:latest
Microsoft SQL Server
Platform Docker image: thingworx/platform-mssql:latest
Microsoft SQL Server DB Init Docker image: thingworx/mssql-init-twx:latest
Azure SQL
Platform Docker image: thingworx/platform-azuresql:latest
Azure SQL DB Init Docker image: thingworx/azuresql-init-twx:latest
Make sure that you run the Init Docker images for PostgreSQL, Microsoft SQL, and Azure SQL before running the Platform Docker image.
Was this helpful?