Skip to content

Latest commit

 

History

History
executable file
·
72 lines (52 loc) · 2.85 KB

File metadata and controls

executable file
·
72 lines (52 loc) · 2.85 KB

How to build this image

Clone repo

git clone git@github.com:WASdev/ci.docker.websphere-traditional.git

cd ci.docker.websphere-traditional/docker-build

Building the image

To create an image with the latest fixpack version of IBM Websphere Application Server (ILAN) V9.0 using your IBMid and the IBM Installation Manager install kit download url (see instructions to get the download url).

For example:

docker build -t websphere-traditional:9.0.5.3-ilan . \
    --build-arg IBMID={IBMid} \
    --build-arg IBMID_PWD={IBMid_password} \
    --build-arg IMURL={IBM_Installation_Manager_download_url}

To create an image with the latest fixpack version of IBM WebSphere Application Server V9.0, you will also need to override the build arguments for PRODUCTID and REPO.

For example:

docker build -t websphere-traditional:9.0.5.3-base . \
    --build-arg IBMID={IBMid} \
    --build-arg IBMID_PWD={IBMid_password} \
    --build-arg IMURL={IBM_Installation_Manager_download_url} \
    --build-arg PRODUCTID=com.ibm.websphere.BASE.v90 \
    --build-arg REPO=https://www.ibm.com/software/repositorymanager/com.ibm.websphere.BASE.v90

To create an image with the latest fixpack version with all recommended iFixes, you will include the build-arg IFIXES=recommended

For example:

docker build -t websphere-traditional:9.0.5.3-ilan . \
    --build-arg IBMID={IBMid} \
    --build-arg IBMID_PWD={IBMid_password} \
    --build-arg IMURL={IBM_Installation_Manager_download_url} \
    --build-arg IFIXES=recommended

Offline Build

On im directory, you can build an Installation Manager image, use it to download Websphere and keep it on local storage for future build iterations.

docker build -t ibm-im . --build-arg IMURL={IBM_Installation_Manager_download_url}

Run this image to download Websphere:

docker run --rm -v $(pwd):/host:Z ibm-im /host/install_was $VERSION $IBM_ID $IBM_PASSWORD $PRODUCTID $REPO

Or edit versions.csv and run the download_was to download several Websphere versions, keep it on local storage and use it to build WAS image:

docker build -t websphere-traditional:9.0.5.3-ilan . \
--build-arg WAS_VERSION={Previously donwloaded WAS version} \
-f Dockerfile.offline

License

The Dockerfiles and associated scripts are licensed under the Apache License 2.0.

License for the product installed within the image is as follows: