bld.sh runs the extend installer to create a base image or an application image.
bld.sh IacceptEULA [app]
# Version of extend EXTEND_VERSION=10.5.0 # Name of the Linux operating system used by the base image OS=ubuntu # Name of the Linux repository tag used to create the base image BASEOSIMAGE=ubuntu:20.04 # Name of the Dockerfile used to create the base image DOCKERFILE=Dockerfile_linux_x64 # Complete base image reference name # like microfocus/extend:ubuntu_10.5.0_x64 BASEIMAGE=microfocus/extend:ubuntu_${EXTEND_VERSION}_x64 # Complete application image reference name # like microfocus/extend-app:ubuntu_10.5.0_x64 APPIMAGE=microfocus/extend-app:ubuntu_${EXTEND_VERSION}_x64 # Name of the Linux extend setup program SETUPEXE=setup_acucob1050pmk59shACU # Name of the directory containing the license files LICENSE_DIRECTORY=aculic_pmk59 # Name of the installation directory INSTALL_DIRECTORY=/opt/microfocus/extend
bld.sh runs the podman build command to create the base image:
podman build \ --tag $BASEIMAGE\ --format docker \ --build-arg BASEOSIMAGE=$BASEOSIMAGE \ --build-arg ACCEPTEULA=$ACCEPTEULA \ --build-arg SETUPEXE=$SETUPEXE \ --build-arg LICENSE_DIRECTORY=$LICENSE_DIRECTORY \ --build-arg INSTALL_DIRECTORY=$INSTALL_DIRECTORY \ --build-arg EXTEND_VERSION=$EXTEND_VERSION \ --file $DOCKERFILE .
Where:
The podman build command with expanded parameters:
podman build --tag microfocus/extend-app:ubuntu_10.5.0_x64 --format docker --build-arg BASEIMAGE=microfocus/extend:ubuntu_10.5.0_x64 --build-arg EXTEND_VERSION=10.5.0 --build-arg "APPCONTAINERDIRECTORY=/opt/microfocus/extend/sample/containerization/linux/AppContainerDirectory" --file Dockerfile_linux_x64_app .