Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-630

Active the -Pdocker profile if detect the docker installation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • pack-0.3.0
    • Saga

    Description

      Currently we use the -Pdocker to use the docker enabled feature to avoid the build failure if there is no docker installation.
      Now we can use the maven profile with activation to enable the docker profile automatically.

           <activation>
              <file>
                <exists>/var/run/docker.sock</exists>
              </file>
              <property>
                <name>env.DOCKER_HOST</name>
              </property>
            </activation>
      

      Attachments

        Issue Links

          Activity

            People

              SingleX Gao Xin
              njiang Willem Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: