Skip to content

Commit

Permalink
Merge branch 'builder-doc-fix' into 'main'
Browse files Browse the repository at this point in the history
Corrected documentation for WLSIMG_BUILDER and WLSIMG_BLDDIR environment variables.

See merge request weblogic-cloud/weblogic-image-tool!476
  • Loading branch information
ddsharpe committed Jun 24, 2024
2 parents a86e9c0 + b320605 commit 934e214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion documentation/site/content/userguide/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ non-typical use cases when the default values are insufficient.

### Environment variables

- `WLSIMG_BLDDIR` - During the build process, Image Tool creates a Docker context directory where it will create a Dockerfile and copy necessary files for the container image build. Setting this variable to another directory overrides the default of the user's home directory as the parent folder of the Docker context directory.
- `WLSIMG_BUILDER` - As an alternative to the command-line argument `--builder`, this variable can be used to override the tool to process the Dockerfile (such as`docker` or `podman`). The provided value should be the full path to the executable. For example, `WLSIMG_BUILDER="/usr/bin/docker"`.
- `WLSIMG_CACHEDIR` - When Image Tool downloads patches, those patches are saved in the cache directory. Setting this variable to another directory overrides the default of the `cache` folder in the user's home directory.
- `WLSIMG_BUILDER` - During the build process, Image Tool creates a Docker context directory where it will create a Dockerfile and copy necessary files for the container image build. Setting this variable to another directory overrides the default of the user's home directory for the parent folder of the Docker context directory.
- `WLSIMG_OS_PACKAGES` - There are several packages and libraries that are required by the WebLogic Kubernetes Toolkit. The default packages included at build time are `gzip tar unzip libaio libnsl jq findutils diffutils`. The names for those libraries can be different depending on your preferred Linux distribution or OS version. The value that you provide in this environment variable will be used in place of the default package list.


0 comments on commit 934e214

Please sign in to comment.