You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/06/01 02:42:00 UTC

[jira] [Created] (SCB-630) Active the -Pdocker profile if detect the docker installation

Willem Jiang created SCB-630:
--------------------------------

             Summary: Active the -Pdocker profile if detect the docker installation 
                 Key: SCB-630
                 URL: https://issues.apache.org/jira/browse/SCB-630
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Saga
            Reporter: Willem Jiang


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|https://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html] to enable the docker profile automatically.

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)