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
Copy file name to clipboardExpand all lines: site/create-image-with-internet.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Create an image with full Internet access
2
2
3
-
The Image Tool supports creating Linux-based WebLogic Docker images, applying WebLogic patches, and creating WebLogic domains. It can be used with or without Internet access.
3
+
The Image Tool supports creating Linuxbased WebLogic Docker images, applying WebLogic patches, and creating WebLogic domains. It can be used with or without Internet access.
4
4
5
5
In this use case, the Image Tool will:
6
6
@@ -37,7 +37,7 @@ and save them in a directory of your choice, for example, `/home/acmeuser/wls-in
37
37
38
38
Where ```--user --passwordEnv``` provides the credentials for a user who is entitled to download patches from Oracle Support.
39
39
40
-
**NOTE**: You can provide the password in one of the three ways:
40
+
**NOTE**: You can provide the password in one of three ways:
Copy file name to clipboardExpand all lines: site/create-image.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Usage: imagetool create [OPTIONS]
8
8
9
9
| Parameter | Definition | Default |
10
10
| --- | --- | --- |
11
-
|`--additionalBuildCommands`| Path to a file with additional build commands. For more details, see [Additional information](#additional_information). |
11
+
|`--additionalBuildCommands`| Path to a file with additional build commands. For more details, see [Additional information](#additional-information). |
12
12
|`--chown`|`userid:groupid` for JDK/Middleware installs and patches. |`oracle:oracle`|
13
13
|`--docker`| Path to the Docker executable. |`docker`|
14
14
|`--fromImage`| Docker image to use as a base image. ||
@@ -53,6 +53,30 @@ RUN rm /some/dir/unnecessary-file
53
53
LABEL owner="middleware team"
54
54
```
55
55
56
+
#### Use an argument file
57
+
58
+
You can save all arguments passed for the Image Tool in a file, then use the file as a parameter.
|`--additionalBuildCommands`| Path to a file with additional build commands. For more details, see [Additional information](#additional_information). |
26
+
|`--additionalBuildCommands`| Path to a file with additional build commands. For more details, see [Additional information](#additional-information). |
27
27
|`--chown`|`userid:groupid` for JDK/Middleware installs and patches. |`oracle:oracle`|
28
28
|`--docker`| Path to the Docker executable. |`docker`|
29
29
|`--fromImage`| (Required) Docker image to use as a base image. ||
This section provides additional information for command-line parameters requiring more details or clarification.
56
56
57
-
#### `additionalBuildCommands`
57
+
#### `--additionalBuildCommands`
58
58
59
59
This is an advanced option that let's you provide additional commands to the Docker build step.
60
60
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`.
@@ -69,6 +69,31 @@ RUN rm /some/dir/unnecessary-file
69
69
LABEL owner="middleware team"
70
70
```
71
71
72
+
#### Use an argument file
73
+
74
+
You can save all arguments passed for the Image Tool in a file, then use the file as a parameter.
75
+
76
+
For example, create a file called `build_args`:
77
+
78
+
```bash
79
+
create
80
+
--type wls
81
+
--version 12.2.1.3.0
82
+
--tag wls:122130
83
+
--user acmeuser@mycompany.com
84
+
--httpProxyUrl http://mycompany-proxy:80
85
+
--httpsProxyUrl http://mycompany-proxy:80
86
+
--passwordEnv MYPWD
87
+
88
+
```
89
+
90
+
Use it on the command line, as follows:
91
+
92
+
```bash
93
+
imagetool @/path/to/build_args
94
+
```
95
+
96
+
72
97
## Usage scenarios
73
98
74
99
**Note**: Use `--passwordEnv` or `--passwordFile` instead of `--password`.
0 commit comments