Building ThingWorx Docker Images
After completing the setup, you can use the build script to create the ThingWorx Docker images. The included build.sh 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: ./build.sh <type>
<type> can be one of the following values:
h2
postgres
mssql
azuresql
After the build process completes, the following Docker images are available, depending on the content provider you built:
H2
Platform Docker image: thingworx/platform-h2:latest
PostgreSQL
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?