Skip to content

Commit 5bebea7

Browse files
Merge branch 'master' into copyrights-and-licenses
2 parents a07e5e5 + 22de6d4 commit 5bebea7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

site/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Commands:
4040
4141
- `addPatch`: Add a patch to the cache. This command verifies if the path points to a valid patch by querying the Oracle support portal.
4242
```
43-
imagebuilder cache addPatch --type wls --version 12.2.1.3.0 --user [email protected] --passwordEnv MYVAR --patchId 12345678 --path /path/to/patch.zip
43+
imagebuilder cache addPatch --type wls --version 12.2.1.3.0 --user [email protected] --passwordEnv MYVAR --patchId p12345678 --path /path/to/patch.zip
4444
```
4545
4646
- `getCacheDir` and `setCacheDir`: Get or set the cache directory. Used to display or set the directory where patches will be downloaded.

src/main/java/com/oracle/weblogicx/imagebuilder/cli/menu/CreateImage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public CommandResponse call() throws Exception {
8383

8484
if (fromImage != null && !fromImage.isEmpty()) {
8585
cmdBuilder.add(BUILD_ARG);
86+
cmdBuilder.add("BASE_IMAGE=" + fromImage);
8687

8788
tmpDir2 = Files.createTempDirectory(Paths.get(System.getProperty("user.home")),
8889
"wlsimgbuilder_temp");

0 commit comments

Comments
 (0)