# Build a Qualcomm IM SDK Docker image In the terminal of your Linux host computer, run the following commands to build a Docker image: 1. Create a root workspace: mkdir /iot-solutions Copy to clipboard This root workspace has the following: - Extracted platform standard SDK - `meta-qti-gst` - `gst-plugins-qti-oss` - `solutions-microservices` - `sdk-tools` - `le-services` 2. Get the platform standard SDK. The platform standard SDK provides the following: - A collection of platform libraries for a specialized environment. - Cross-development toolchain and libraries that are tailored to a specific Yocto-based Qualcomm Linux release. You can either use a prebuilt platform standard SDK or generate your own standard SDK. The following table guides you to the specific instructions to do both: | Use platform standard SDK | Instructions | | --- | --- | | Prebuilt platform standard SDK | [Download and install standard SDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-70033-51/install-sdk.html#panel-0-uxvhbgnvbw0gtgludxg=tab$download-and-install-standard-sdk) | 3. Clone the following projects: 1. Qualcomm IM SDK projects: # Clone QIM SDK plugins source cd /iot-solutions git clone https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss.git -b LE.QCQIMPRODUCT.1.0.r1-10000-QIM.0 # Clone QIM SDK recipes cd /iot-solutions git clone https://git.codelinaro.org/clo/le/meta-qti-gst.git -b LE.QCQIMPRODUCT.1.0.r1-10000-QIM.0 Copy to clipboard 2. Solutions-Microservices project: cd /iot-solutions git clone https://git.codelinaro.org/clo/le/solutions-microservices.git -b LE.QCQIMPRODUCT.1.0.r1-10000-QIM.0 Copy to clipboard 3. SDK-tools project: cd /iot-solutions git clone https://git.codelinaro.org/clo/le/sdk-tools.git -b LE.QCQIMPRODUCT.1.0.r1-10000-QIM.0 Copy to clipboard 4. Linux Embedded (LE) services project: cd /iot-solutions git clone https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/le-services.git -b LE.QCLINUX.1.0.r1-09300-K2C.0 Copy to clipboard 4. [Set up the Docker on your machine](https://git.codelinaro.org/clo/le/sdk-tools/-/blob/imsdk-tools.lnx.1.0/qimsdk/README.md#Prerequisites) if you are building the Qualcomm IM SDK Docker build for the first time. 5. Configure the build. 6. Update the JSON configuration file for the required target. Go to the `targets` directory. cd /iot-solutions/sdk-tools/qimsdk/targets Copy to clipboard The fields in the `config.json` file are represented as follows: { "Additional_tag_container": "", "Additional_tag_image": "", "Docker_image_path": "/local/mnt/workspace/iot-solutions/docker_image_path", "Target_device_ID" : "", "QAIRT_SDK_version" : "2.43.0.260128", "Supported_targets": [ "qcm6490", "qcs9100", "qcs8300" ], "IM_SDK_Source_Dir" : "/local/mnt/workspace/iot-solutions/gst-plugins-qti-oss", "IM_SDK_Meta_Dir" : "/local/mnt/workspace/iot-solutions/meta-qti-gst", "Solution_Microservices_Dir": "/local/mnt/workspace/iot-solutions/solutions-microservices", "LE_Services_Source_Dir": "/local/mnt/workspace/iot-solutions/le-services", "Path_to_headers_dir" : "/local/mnt/workspace/iot-solutions/SDK/sysroots/armv8-2a-qcom-linux/usr/include", "Path_to_pkgconfig_dir" : "/local/mnt/workspace/iot-solutions/SDK/sysroots/armv8-2a-qcom-linux/usr/lib/pkgconfig", "MAP_sources_to_dev_container" : "FALSE", } Copy to clipboard Note For the GA 1.9.1 release, update the `QAIRT_SDK_version` to `2.43.0.260128` in the `config.json` file. The Docker build image compilation fails if the `QAIRT_SDK_version` isn't updated to the current release. The following table provides the field description for the `config.json` file: | Field | Mandatory/Optional | Description | | --- | --- | --- | | `"Additional_tag_container"` | Optional | Append this string to the Docker image name. | | `"Additional_tag_image"` | Optional | The Docker image tag. | | `"Docker_image_path"` | Mandatory | The directory to which the Docker image and Docker run script are exported. | | `"Target_device_ID"` | Optional | The device ID. If the device isn't attached to a computer, this field can be blank. | | `"IM_SDK_Source_Dir"` | Mandatory | The directory containing the Qualcomm IM SDK GSt plugin source code. | | `"IM_SDK_Meta_Dir"` | Mandatory | The directory containing the Qualcomm IM SDK GSt plugin BitBake recipe folder. | | `"Solution_Microservices_Dir"` | Mandatory | The solutions-microservices directory, which has all the Qualcomm IM SDK micro-service shell scripts. | | `"LE_Services_Source_Dir"` | Mandatory | The LE-services directory, which has all the LE source files. | | `"Path_to_headers_dir"` | Mandatory | The directory that contains the header files in the extracted standard SDK. For example, `/sysroots/armv8-2a-qcom-linux/usr/include`. | | `"Path_to_pkgconfig_dir"` | Mandatory | The directory that contains the pkgconfig files in the extracted standard SDK. For example, `SDK/sysroots/armv8-2a-qcom-linux/usr/lib/pkgconfig`. | | `"QAIRT_SDK_version"` | Mandatory | `QAIRT_SDK_version` for the current release. | | `"MAP_sources_to_dev_container"` | Optional | The field that indicates whether to map the source files to the development container. Valid values are TRUE and FALSE. | 7. Build and export the Docker image: 1. Set the environment: cd /sdk-tools/qimsdk Copy to clipboard source scripts/docker_env_setup.sh Copy to clipboard 2. Build the Docker image: qimsdk-docker-build-image targets/config.json Copy to clipboard 3. Export the Docker image and the Docker run scripts to the `Docker_image_path` directory. qimsdk-docker-device-save-image targets/config.json Copy to clipboard Last Published: Nov 04, 2026 [Previous Topic Deploy Qualcomm IM SDK as a container](https://docs.qualcomm.com/bundle/publicresource/80-70033-50/topics/application-deployment-within-container-api-gstd.md) [Next Topic Load and run the Docker image](https://docs.qualcomm.com/bundle/publicresource/80-70033-50/topics/load-and-run-docker.md)