Patch an image

Oracle releases Oracle SOA Suite images regularly with latest bundle and recommended interim patches in My Oracle Support (MOS). However, if there is a need to create images with new bundle and interim patches, you can build these images using WebLogic Image Tool.

If you have access to the Oracle SOA Suite patches, you can patch an existing Oracle SOA Suite image with a bundle patch and interim patches. It is recommended to use the WebLogic Image Tool to patch the Oracle SOA Suite image.

Recommendations:

  • Use the WebLogic Image Tool create feature for patching the Oracle SOA Suite Docker image with a bundle patch and multiple interim patches. This is the recommended approach because it optimizes the size of the image.
  • Use the WebLogic Image Tool update feature for patching the Oracle SOA Suite Docker image with a single interim patch. Note that the patched image size may increase considerably due to additional image layers introduced by the patch application tool.

Apply the patched image

  1. Shut down the domain, by updating the spec.serverStartPolicy: field value to NEVER in domain.yaml configuration file and apply the updated domain.yaml file.

    $ kubectl apply -f domain.yaml
    
  2. In domain.yaml configuration file, update the image: field value with the patched image and also update the spec.serverStartPolicy: field value to IF_NEEDED.

  3. Apply the updated domain.yaml configuration file, to start up the domain.

    $ kubectl apply -f domain.yaml