Package structure of customized code

After running the WebSphere Commerce Build tool, a ZIP package is generated for each server component.


Package structure

Refer to the following for details about the package structure. The descriptions in parenthesis explain how files in the ZIP package are processed after you build the custom Docker images as described in Building custom Docker images based on customization packages.

Note: A single package includes only files for a single server component. The following structure provides a holistic view and explanation of the file structure. However, files for multiple components are not packaged in a single ZIP file in a real package.

Note: Certs and DeployScripts are not mandatory folders in the package. We can include third-party certificates for integration purposes in the Certs folder. We can include the customized deployment logic in the Deployscripts folder. To package these two folders in the final ZIP file, customize the WebSphere Commerce Build Tool scripts.


Customizing the Certs folder

WebSphere Commerce Version 9 supports loading third-party certificates from a remote site to a Docker container during startup, and packaging the third-party certificates in the customization package. When you build the customized Docker image, those certificate files are copied to the /SETUP/certs/custom directory.


Customizing the DeployScripts folder

We can package you customized JAR files or scripts to the DeployScripts folder, and write the deployment logic into applyDeployScripts.sh.


Related reference
Packaging configuration properties
Security-sensitive build configuration properties