Service Virtualization

Expand all | Collapse all

Error while ceating docker images of DevTest

  • 1.  Error while ceating docker images of DevTest

    Posted Jul 28, 2017 07:04 PM

    I'm getting the following error while creating docker image via gradle build steps mentioned here.

     

    :dockerimages/devtest-jre:dockerImage FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':dockerimages/devtest-jre:dockerImage'.
    > Docker execution failed
    Command line [docker tag -f devtest/devtest-jre:9.5.1.6 devtest/devtest-jre:latest] returned:
    unknown shorthand flag: 'f' in -f
    See 'docker tag --help'.


    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

     

    monika_mehta Please help.



  • 2.  Re: Error while ceating docker images of DevTest
    Best Answer

    Broadcom Employee
    Posted Jul 31, 2017 11:01 AM

    Please look at the community post Build docker images failed .



  • 3.  Re: Error while ceating docker images of DevTest

    Posted Jul 31, 2017 02:50 PM

    Thanks gadpr08. This resolved the build issue.