Build a custom image of the DevOps Portal

Build a custom image of the DevOps Portal

Warning

The DevOps Portal has been deprecated in the Q4`18 MCP release tagged with the 2019.2.0 Build ID.

For testing purposes, you may need to create a custom Docker image to use it while deploying the DevOps Portal.

To build a custom Docker image:

  1. Before you build the image and upload it to Sandbox, clone the source code of DevOps Portal:

    git clone https://gerrit.mcp.mirantis.net/oss/devops-portal
    cd devops-portal
    
  2. Build your image:

    docker build --rm -f docker/Dockerfile -t \
    docker-sandbox.sandbox.mirantis.net/[USERNAME]/oss/devops-portal:latest .
    
  3. Push the image into a specific prefix on Sandbox:

    docker push docker-sandbox.sandbox.mirantis.net/[USERNAME]/oss/devops-portal:latest