InstallAnywhere StandAloneBuild with Docker

InstallAnywhere StandAloneBuild with Docker

InstallAnywhere StandAlone Build with Docker

Build your own Docker Image with InstallAnywhere SAB

On an machine where Docker is installed, create Folder (eg: IADockerBuild).

Copy InstallAnywhere installer (eg: InstallAnywhere2020.bin for Ubuntu docker) to the above created folder (i.e IADockerBuild) and ensure the file has execute permissions.

Create a file called DockerFile (no extension) inside the above created folder (i.e IADockerBuild) with the following content

[Dockerfile]

# Base Ubuntu ImageFROM ubuntu:latest# Change to Root DirWORKDIR /

# Copy InstallAnywhere installer to rootADD InstallAnywhere2020.bin /

# InstallAnywhere installationRUN ./InstallAnywhere2020.bin -i silent

Launch Terminal and navigate to the above created folder (i.e IADockerBuild)

Run the following command as 'sudo' or root user to build the Docker image with InstallAnywhere installed:

docker build -t installanywhere2020 --no-cache=true .

Wait for the build to complete. Once the build is complete run the following command to list the newly created image

docker images

License InstallAnywhere SAB

Activate a Node Locked License

For activating SAB using a node locked license, you need to manually copy the license file (license.lic) to InstallAnywhere [INSTALLDIR] location. It is also mandatory to create the container with --mac-address option, else the MAC/Physical address will be dynamic each time you create a new container.

Open the license file that you want to use for activating InstallAnywhere SAB and copy the MAC address.

Use the same/copied MAC/Physical address to create the container using --mac-address

docker run --mac-address <MAC-ADDRESS> -it <IMAGE>

(Optional) In case if you want to create container, mount folder and assign MAC address at the same time run the following command: