title: docker-compose: command not found on jenkins
body: <p>I have a docker compose file</p>
  
  <pre><code>version: "3"
  services:
    mysql:
      image: mysql:latest
      container_name: locations-service-mysql
      environment:
        MYSQL_ROOT_PASSWORD: root
        MYSQL_USERNAME: root
        MYSQL_DATABASE: 'locations_schema'
      restart: always
      volumes:
        - mysql_data:/var/lib/mysql:rw
  
    phpmyadmin:
      image: phpmyadmin/phpmyadmin:latest
      ports:
        - 8181:80
      environment:
        MYSQL_USERNAME: root
        MYSQL_ROOT_PASSWORD: root
        PMA_HOST: mysql
      depends_on:
        - mysql
      links:
        - mysql:mysql
  
  
    dropwizard:
      build:
        context : ../locations-service/
      ports:
            - 8080:8080
            - 8081:8081
      depends_on:
            - mysql
      links:
        - mysql:mysql
      restart: always
      container_name: locations-service
  
  volumes:
    mysql_data:
  </code></pre>
  
  <p>And i've configure a jenkins job to execute this file by calling another shell file "environment.sh", but it attempts to execute the following error appears:</p>
  
  <pre><code>23:51:57 ./environment.sh: line 3: docker-compose: command not found
  23:51:57 ./environment.sh: line 4: docker-compose: command not found
  23:51:57 ./environment.sh: line 6: docker-compose: command not found
  23:51:57  FAILED
  23:51:57 
  23:51:57 FAILURE: Build failed with an exception.
  23:51:57 
  23:51:57 * What went wrong:
  23:51:57 Execution failed for task ':startDockerEnvironment'.
  23:51:57 &gt; Process 'command './environment.sh'' finished with non-zero exit value 127
  </code></pre>
  
  <p>How can i download and configure docker-compose in jenkins server, also there's no plugin available!, for docker-compose</p>