Sitecore module reference

Current version: 10.3

This topic describes the Sitecore modules that are available as Docker asset images and the Sitecore runtime Dockerfile instructions that you must include for each role when you build custom images. For a more detailed explanation of Sitecore module images and how they are included, refer to this topic on how to add Sitecore modules, which includes the Sitecore PowerShell Extensions (SPE) and Sitecore Experience Accelerator (SXA) modules.

There is a list of available module asset images and tags on the Sitecore Docker Images repository on GitHub.

Sitecore PowerShell Extensions (SPE)

Image repository

  • scr.sitecore.com/sxp/modules/sitecore-spe-assets

Dockerfile instructions

  • mssql-init:

    RequestResponse
    # escape=`
    
    ARG BASE_IMAGE
    ARG SPE_RESOURCES_IMAGE
    
    FROM ${SPE_RESOURCES_IMAGE} AS spe_resources
    
    FROM ${BASE_IMAGE} AS spe
    
    SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
    
    COPY --from=spe_resources C:\module\db C:\resources\spe
  • cm:

    RequestResponse
    COPY --from=<spe_image> C:\module\cm\content C:\inetpub\wwwroot

Sitecore Experience Accelerator (SXA)

Image repository

  • scr.sitecore.com/sxp/modules/sitecore-sxa-xm1-assets

  • scr.sitecore.com/sxp/modules/sitecore-sxa-xp1-assets

Dockerfile instructions

  • solr-init:

    RequestResponse
    COPY --from=<sxa_image> C:\module\solr\cores-sxa.json C:\data\cores-sxa.json
    
  • cd:

    RequestResponse
    COPY --from=<sxa_image> C:\module\cd\content C:\inetpub\wwwroot
    COPY --from=<sxa_image> C:\module\tools C:\module\tools
    RUN C:\module\tools\Initialize-Content.ps1 -TargetPath C:\inetpub\wwwroot; `
      Remove-Item -Path C:\module -Recurse -Force;
  • cm:

    RequestResponse
    COPY --from=<sxa_image> C:\module\cm\content C:\inetpub\wwwroot
    COPY --from=<sxa_image> C:\module\tools C:\module\tools
    RUN C:\module\tools\Initialize-Content.ps1 -TargetPath C:\inetpub\wwwroot; `
      Remove-Item -Path C:\module -Recurse -Force;

JavaScript Services (JSS) / Sitecore Headless Services

Image repository

Headless Services v14, v15:

  • scr.sitecore.com/sxp/modules/jss-xm1-assets

  • scr.sitecore.com/sxp/modules/jss-xp1-assets

Headless Services v16+:

  • scr.sitecore.com/sxp/modules/sitecore-headless-services-xm1-assets

  • scr.sitecore.com/sxp/modules/sitecore-headless-services-xp1-assets

Dockerfile instructions

  • mssql-init:

    RequestResponse
    COPY --from=<headless_services_image> C:\module\db C:\resources\jss
    
  • cd:

    RequestResponse
    COPY --from=<headless_services_image> C:\module\cd\content C:\inetpub\wwwroot
    COPY --from=<headless_services_image> C:\module\tools C:\module\tools
    RUN C:\module\tools\Initialize-Content.ps1 -TargetPath C:\inetpub\wwwroot; `
      Remove-Item -Path C:\module -Recurse -Force;
  • cm:

    RequestResponse
    COPY --from=<headless_services_image> C:\module\cm\content C:\inetpub\wwwroot
    COPY --from=<headless_services_image> C:\module\tools C:\module\tools
    RUN C:\module\tools\Initialize-Content.ps1 -TargetPath C:\inetpub\wwwroot; `
      Remove-Item -Path C:\module -Recurse -Force;

Sitecore Management Services

Image repository

  • scr.sitecore.com/sxp/modules/sitecore-management-services-xm1-assets

  • scr.sitecore.com/sxp/modules/sitecore-management-services-xp1-assets

Dockerfile instructions

  • cm:

    RequestResponse
    COPY --from=<management_services_image> C:\module\cm\content C:\inetpub\wwwroot

Email Experience Manager Dedicated Dispatch Server

Image repository

  • scr.sitecore.com/sxp/modules/dds-xp1-assets

Dockerfile instructions

  • cm:

    RequestResponse
    COPY --from= <dds_asset_image>
    C:\module\cm\content C:\inetpub\wwwroot
    
    COPY --from=<dds_asset_image>
    C:\module\tools C:\module\tools
    
    COPY --from=<sitecore-docker-tools-assets> C:\tools C:\module\tools 
    
    RUN C:\module\tools\Initialize-Content.ps1
    -TargetPath C:\inetpub\wwwroot; `
    
        Remove-Item -Path C:\module -Recurse
    -Force;
  • Dedicated Dispatch Server (DDS)

    RequestResponse
    COPY --from=<dds_asset_image>
    C:\module\dds\content C:\inetpub\wwwroot
    
    COPY --from=<dds_asset_image>
    C:\module\tools C:\module\tools
    
    COPY --from=<sitecore-docker-tools-assets> C:\tools C:\module\tools 
    
    RUN C:\module\tools\Initialize-Content.ps1
    -TargetPath C:\inetpub\wwwroot; `
    
        Remove-Item -Path C:\module
    -Recurse -Force;

Sitecore Publishing Service

Image repository

scr.sitecore.com/sxp/modules/sps-assets

Dockerfile instructions

  • CD:

    RequestResponse
    COPY --from=<sps_image> 
    C:\module\cd\content C:\inetpub\wwwroot 

    If you are running Sitecore Publishing Service 7.0, and you are using Sitecore 10.2 or earlier, or upgrading to Sitecore 10.3, run this command to enable multiple link support:

    RequestResponse
    RUN Remove-Item -Path
    C:\inetpub\wwwroot\App_Config\Modules\PublishingService\Sitecore.Publishing.Service.SingleLinkDatabase.config
    -Force; 
    
  • CM:

    RequestResponse
    COPY --from=<sps_image>
    C:\module\cm\content C:\inetpub\wwwroot 

    If you are running Sitecore Publishing Service 7.0, and you are using Sitecore 10.2 or earlier, or upgrading to Sitecore 10.3, run this command to enable multiple link support:

    RequestResponse
    RUN Remove-Item -Path
    C:\inetpub\wwwroot\App_Config\Modules\PublishingService\Sitecore.Publishing.Service.SingleLinkDatabase.config
    -Force;

Do you have some feedback for us?

If you have suggestions for improving this article,