An IBM WebSphere Application Server Liberty Profile production image can be built by obtaining the following binaries:
- WebSphere Application Server Liberty Runtime Archive from Passport Advantage / Fix Central
- IBM JRE from developerWorks
Dockerfiles are provided for two approaches to building the image:
- Add the binaries to the image from the local file system.
- Host the binaries on a FTP or HTTP server and obtain via wget.
The first option is simpler and will build quicker but results in a larger Docker image as the packaged binaries are included as a layer in the final image. These Dockerfiles are not prespective and you may create your own Dockerfiles to package WebSphere Application Server.
-
Clone this repository.
-
Move to the directory
websphere-liberty/8.5.5/production-install/add
. -
Place the downloaded Liberty Runtime Archive and IBM JRE in to this directory.
-
Review the Dockerfile and modify the filenames if required,
-
Build the image using:
docker build -t <image-name> .
-
Place the downloaded Liberty Runtime Archive and IBM JRE on the FTP or HTTP server.
-
Clone this repository.
-
Move to the directory
websphere-liberty/8.5.5/production-install/wget
. -
Review the Dockerfile and update the user credentials and URL of the server hosting the binaries.
-
Build the image using:
docker build -t <image-name> .