Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a new empty Dockerfile.

  2. Use the Docker FROM instruction, to add IncrediBuild image to the Dockerfile.
    For example:

    Code Block
    FROM: incredibuild/9.5.60
  3. Add to the Dockerfile the required instructions for importing the additional tool to the image.
    Note: You should take into consideration that the order of the instructions you enter into the Dockerfile is significant, since the Docker daemon runs the instructions one after the other, committing the result of each instruction to the following image, if necessary. For more information on building a Dockerfile, see: https://docs.docker.com/engine/reference/builder/
    For example:

    Code Block
    FROM: incredibuild/9.5.0
    RUN mkdir C:\\BuildToolsWORKDIR
    C:\\BuildToolsCOPY C:\\Host\\BuildToolsDirectory
    # (Import build tools and necessary binaries)
    …
  4. Build a Docker image from the new Dockerfile using the docker build command.
    Note: For more information on the docker build command, see:
    https://docs.docker.com/engine/reference/commandline/build/

  5. Run a container based on the new image, using the docker run command with the required IncrediBuild options.

...