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

Active the -Pdocker profile if detect the docker installation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: pack-0.3.0
    • Component/s: Saga
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: