You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an advanced option that let's you provide additional commands to the Docker build step.
56
-
The input for this parameter is a simple text file that contains one or more of the valid sections: `before-jdk-install`, `after-jdk-install`, `before-fmw-install`, `after-fmw-install`, `before-wdt-command`, `after-wdt-command`, `final-build-commands`.
56
+
The input for this parameter is a simple text file that contains one or more of the valid sections. Valid sections for create:
57
+
58
+
| Section | Build Stage | Timing |
59
+
| --- | --- | --- |
60
+
|`before-jdk-install`| Intermediate (JDK_BUILD) | Before the JDK is installed. |
61
+
|`after-jdk-install`| Intermediate (JDK_BUILD) | After the JDK is installed. |
62
+
|`before-fmw-install`| Intermediate (WLS_BUILD) | Before the Oracle Home is created. |
63
+
|`after-fmw-install`| Intermediate (WLS_BUILD) | After all of the Oracle middleware installers are finished. |
64
+
|`before-wdt-command`| Intermediate (WDT_BUILD) | Before WDT is installed. |
65
+
|`after-wdt-command`| Intermediate (WDT_BUILD) | After WDT domain creation/update is complete. |
66
+
|`final-build-commands`| Final image | After all Image Tool actions are complete, and just before the Docker image is finalized. |
67
+
68
+
NOTE: Changes made in intermediate stages may not be carried forward to the final image unless copied manually.
69
+
The Image Tool will copy the Java Home, Oracle Home, domain home, and WDT home directories to the final image.
70
+
Changes fully contained within these directories do not need an additional `COPY` command in the `final-build-commands` section.
57
71
58
72
Each section can contain one or more valid Dockerfile commands and would look like the following:
Copy file name to clipboardExpand all lines: site/rebase-image.md
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,19 @@ Usage: imagetool rebase [OPTIONS]
44
44
#### `--additionalBuildCommands`
45
45
46
46
This is an advanced option that let's you provide additional commands to the Docker build step.
47
-
The input for this parameter is a simple text file that contains one or more of the valid sections: `before-jdk-install`, `after-jdk-install`, `before-fmw-install`, `after-fmw-install`, `before-wdt-command`, `after-wdt-command`, `final-build-commands`.
47
+
The input for this parameter is a simple text file that contains one or more of the valid sections. Valid sections for rebase:
48
48
49
+
| Section | Build Stage | Timing |
50
+
| --- | --- | --- |
51
+
|`before-jdk-install`| Intermediate (JDK_BUILD) | Before the JDK is installed. |
52
+
|`after-jdk-install`| Intermediate (JDK_BUILD) | After the JDK is installed. |
53
+
|`before-fmw-install`| Intermediate (WLS_BUILD) | Before the Oracle Home is created. |
54
+
|`after-fmw-install`| Intermediate (WLS_BUILD) | After all of the Oracle middleware installers are finished. |
55
+
|`final-build-commands`| Final image | After all Image Tool actions are complete, and just before the Docker image is finalized. |
56
+
57
+
NOTE: Changes made in intermediate stages may not be carried forward to the final image unless copied manually.
58
+
The Image Tool will copy the Java Home and the Oracle Home directories to the final image.
59
+
Changes fully contained within these directories do not need an additional `COPY` command in the `final-build-commands` section.
49
60
Each section can contain one or more valid Dockerfile commands and would look like the following:
This section provides additional information for command-line parameters requiring more details or clarification.
61
60
62
61
#### `--additionalBuildCommands`
63
62
64
63
This is an advanced option that let's you provide additional commands to the Docker build step.
65
-
The input for this parameter is a simple text file that contains one or more of the valid sections: `before-jdk-install`, `after-jdk-install`, `before-fmw-install`, `after-fmw-install`, `before-wdt-command`, `after-wdt-command`, `final-build-commands`.
64
+
The input for this parameter is a simple text file that contains one or more of the valid sections. Valid sections for update:
66
65
67
-
Each section can contain one or more valid Dockerfile commands and would look like the following:
66
+
| Section | Build Stage | Timing |
67
+
| --- | --- | --- |
68
+
|`before-wdt-command`| Intermediate (WDT_BUILD) | Before WDT is installed. |
69
+
|`after-wdt-command`| Intermediate (WDT_BUILD) | After WDT domain creation/update is complete. |
70
+
|`final-build-commands`| Final image | After all Image Tool actions are complete, and just before the Docker image is finalized. |
68
71
69
-
#### `--latestPSU`
72
+
NOTE: Changes made in intermediate stages may not be carried forward to the final image unless copied manually.
73
+
The Image Tool will copy the domain home and the WDT home directories to the final image.
74
+
Changes fully contained within these directories do not need an additional `COPY` command in the `final-build-commands` section.
70
75
71
-
The `latestPSU` option will continue to be supported for the CREATE option, but has been deprecated for use in the
72
-
UPDATE option. Because of the number of patches and their size, using `latestPSU` as an update to an existing image can
73
-
increase the size of the image significantly, and is not recommended.
76
+
77
+
Each section can contain one or more valid Dockerfile commands and would look like the following:
74
78
75
79
```dockerfile
76
80
[after-fmw-install]
@@ -98,6 +102,12 @@ installation or domain creation steps, use the `final-build-commands` section so
98
102
final stage of the image build. Or, if the file needs to change the Oracle Home prior to domain creation, use
99
103
the `after-fmw-install` or `before-wdt-command` sections.
100
104
105
+
#### `--latestPSU`
106
+
107
+
The `latestPSU` option will continue to be supported for the CREATE option, but has been deprecated for use in the
108
+
UPDATE option. Because of the number of patches and their size, using `latestPSU` as an update to an existing image can
109
+
increase the size of the image significantly, and is not recommended.
110
+
101
111
#### Use an argument file
102
112
103
113
You can save all arguments passed for the Image Tool in a file, then use the file as a parameter.
0 commit comments