1. Cppy folder "Build_Local_Repository" to your WebSphere Commerce Developer directory. "E:/IBM/WCDE_V9/"
2. Copy folder "wcbd" to your WebSphere Commerce Developer directory. "E:/IBM/WCDE_V9/"

Build Search customization image 

	1. Learn about the configurations in the .properties files. 
	https://www.ibm.com/support/knowledgecenter/en/SSZLC2_9.0.0/com.ibm.commerce.developer.doc/refs/rdsamplewcbcode.htm
	
	2. Edit configuration files that are in the wcbd directory:
	a) extract-local-search.properties
		Change the following values if necessary 	
		 local.extract.dir=E:/IBM/WCDE_V9/Build_Local_Repository/search
		
	b) build-local-search.properties
		Change the following values if necessary 
		 java.module.list=search-config-ext, search-logic-ext	
		- wc.home=E:/IBM/WCDE_V9	
		- was.home=E:/IBM/AppServer
		
    	3. Run wcbd-ant to build search customization package:
			Switch to wcbd directory for example: E:\IBM\WCDE_V9\wcbd, run wcbd-ant as below
     		E:\IBM\WCDE_V9\wcbd>wcbd-ant.bat -buildfile wcbd-build.xml -Dbuild.type=local -Dapp.type=search -Dbuild.label=demo 
     
	4. Verify that you get a store customization package: 
		E:\IBM\WCDE_V9\wcbd\dist\server\wcbd-deploy-server-local-search-demo.zip
 
	5. Login to your system that has Docker installed.
 
	6. Create a folder, e.g. /CusDeploy, and copy the zip file "wcbd-deploy-server-local-search-demo.zip" generated by step 3 to this machine, and unzip "wcbd-deploy-server-local-search-demo.zip" to "/CusDeploy"
	Under "/CusDeploy" folder, you should see subfolder "Code" and "Config"
 
	7. Switch to folder "/CusDeploy"
 
	8. Create a Dockerfile with the following contents. Remember to update the <tag> with your current Search server Docker image tag.
		#image Is the image that your container uses	
		FROM search-app:<tag>
		COPY CusDeploy /SETUP/Cus	
     		RUN /SETUP/bin/applyCustomization.sh
			
	
	9. Build new Search server Docker image to include customization package.
		docker build -t search-app:<new_tag> .
		
	Note: The period at the end of the command is required.
		
   	10. Open your existing docker-compose.yml file and update the image field to point to your newly built image.
	

Build pre-process configuration to Transaction server customization image 
	
	2. Edit configuration file in wcbd directory 
	a) extract-local-ts.properties
		Change the following values if necessary 
		 local.extract.dir=E:/IBM/WCDE_V9/Build_Local_Repository/ts
		
	b) build-local-ts.properties
		Change the following values if necessary 
		 ear.dir.includes=	
		- wc.home=E:/IBM/WCDE_V9	
		- was.home=E:/IBM/AppServer
		
	3. Run wcbd-ant to build ts customization package:
	Switch to wcbd directory for example: E:\IBM\WCDE_V9\wcbd, run wcbd-ant as below
		E:\IBM\WCDE_V9\wcbd>wcbd-ant.bat -buildfile wcbd-build.xml -Dbuild.type=local -Dapp.type=ts -Dbuild.label=demo 

	4. Verify that you get a store customization package: 
		E:\IBM\WCDE_V9\wcbd\dist\server\wcbd-deploy-server-local-ts-demo.zip	
 
	5. Login to your system that has Docker installed.
 
	6. Create a folder, e.g. /CusDeploy, and copy the zip file "wcbd-deploy-server-local-ts-demo.zip" generated by step 3 to this machine, and unzip "wcbd-deploy-server-local-ts-demo.zip" to "/CusDeploy"
	Under "/CusDeploy" folder, you should see subfolder "Code"
 
	7. Switch to folder "/CusDeploy"
 
	8. Create a Dockerfile with the following contents. Remember to update the <tag> with your current Transaction server Docker image tag.
		#image Is the image that your container uses	
		FROM ts-app:<tag>
		COPY CusDeploy /SETUP/Cus	
     		RUN /SETUP/bin/applyCustomization.sh
	
	9. Build new Transaction Docker image to include customization package.
		docker build -t ts-app:<new_tag>
		
   	10. Open your existing docker-compose.yml file and update the image field to point to your newly built image.