4.4 Load Platform Images and Build Foundation Images

Configure image repositories and load platform images before building the foundation images.

  1. Navigate to /scratch/obma_installer/26_1_0/installer/image_tool/ and update cnf_image.properties with the following values.

    Update the Docker repository URL, username, password, image tag, and proxy values.

    # Existing OBMA build defaults.
    REPOSITORY_URL="<DOCKER_REPO>/<PATH>/<SUB_PATH>/obma"
    USERNAME="<DOCKER_REPO_USERNAME>"
    PASSWORD="<DOCKER_REPO_PASSWORD>"
    IMAGE_TAG="26.1.0.0.0"
    # GENERIC PROXY SETTINGS
    HTTP_PROXY="<ORGANIZATION HTTP_PROXY>"
    HTTPS_PROXY="<ORGANIZATION HTTPS_PROXY>"
    NO_PROXY="<ORGANIZATION NO_PROXY>"
    # image-loader properties
    TARGET_REPOSITORY_PREFIX="<DOCKER_REPO>/platform"
    # ODT build defaults
    ODT_IMAGE_TAG="26.1.0.0.0"
    # OBDX CONFIGURATION
    OBDX_HTTP_PROXY="<ORGANIZATION HTTP_PROXY>"
    OBDX_HTTPS_PROXY="<ORGANIZATION HTTPS_PROXY>"
    OBDX_NO_PROXY="<ORGANIZATION NO_PROXY>"
    OBDX_REPOSITORY_URL="<DOCKER_REPO>/<PATH>/<SUB_PATH>/obdx"
    OBDX_IMAGE_TAG="26.1.0.0.0"
  2. Run the following commands to load the platform images into the Docker repository.
    cd /scratch/obma_installer/26_1_0/installer/image_tool/image_loader
    chmod +x load-platform-artifacts.sh
    ./load-platform-artifacts.sh
  3. Run the following commands to create the foundation images.
    cd /scratch/obma_installer/26_1_0/installer/image_tool/image_builder/obma_image_builder
    chmod +x validate-linux-tools.sh
    ./validate-linux-tools.sh
    ./build_cnf_image.sh --continue-on-failure