Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
add Adding liberty symlink May 29, 2018
wget Adding liberty symlink May 29, 2018
README.md Add instructions for changing locale Dec 20, 2016

README.md

Building a IBM WebSphere Application Server Liberty Profile production images from binaries

An IBM WebSphere Application Server Liberty Profile production image can be built by obtaining the following binaries:

Dockerfiles are provided for two approaches to building the image:

  1. Add the binaries to the image from the local file system.
  2. 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.

Add binaries from local file system

  1. Clone this repository.

  2. Move to the directory ga/production-install/add.

  3. Place the downloaded Liberty Runtime Archive and IBM JRE in to this directory.

  4. Review the Dockerfile and modify the filenames if required,

  5. Build the image using:

    docker build -t <image-name> .

wget binaries from FTP or HTTP server

  1. Place the downloaded Liberty Runtime Archive and IBM JRE on the FTP or HTTP server.

  2. Clone this repository.

  3. Move to the directory ga/production-install/wget.

  4. Review the Dockerfile and update the user credentials and URL of the server hosting the binaries.

  5. Build the image using:

    docker build -t <image-name> .

Changing locale

The base Ubuntu image does not include additional language packs. To use an alternative locale, modify the Dockerfile to install the required language pack and then set the LANG environment variable. For example, for Portuguese make the following modifications:

RUN apt-get update \
  && apt-get install -y language-pack-pt-base wget \
  && rm -rf /var/lib/apt/lists/*
ENV LANG pt_BR.UTF-8