Configuration

The default configuration is typically adequate for common use. But, the following environment variables are provided for non-typical use cases when the default values are insufficient.

Environment variables

  • 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.