This documentation is for WSO2 Dockerfiles version 1.1.0. View documentation for the latest release.
Introduction - WSO2 Dockerfiles 1.1.0 - WSO2 Documentation
||
Skip to end of metadata
Go to start of metadata

The Docker images for WSO2 products are designed as quick starting images that involve minimal configuration after the Container is started. The Docker images are built using the WSO2 product Dockerfile, WSO2 product pack and the JDK distribution. The WSO2 products can be configured using provisioning methods when building the Docker images and the wso2/dockerfiles includes default and puppet provisioning methods. The ENTRYPOINT of the images start the relevant WSO2 server by executing the following command: wso2server.sh Furthermore, WSO2 Dockerfiles are released under Apache Software License Version 2.0, one of the most business-friendly licenses available today.

The product Dockerfiles performs the following actions when building the respective images (e.g., Dockerfile for WSO2 ESB).

  1. Defines the Docker Build ARGS and expose them as environment variables.

    Environment VariableExample Value
    WSO2_SERVER
    wso2esb
    WSO2_SERVER_VERSION
    4.9.0
    WSO2_SERVER_PROFILE
    default
    WSO2_ENVIRONMENT
    dev
    HTTP_PACK_SERVER
    <DOCKERFILE_HOME>/common/provision/default/files
  2. Copies the scripts needed to configure and start the docker containers.
  3. Runs the image configuration script 
  4. Defines the USER and WORKDIR going to be used when running the Docker image
  5. Exposes the product ports.
  6. Defines the ENTRYPOINT.
  • No labels