image: docker:stable

options:
  docker: true

pipelines:
  default:
  - step:
      script:
      - apk add --no-cache py-pip bash
      - pip install --no-cache-dir docker-compose
      - docker-compose build
      caches:
      - docker

image: docker:stable

options:
  docker: true

pipelines:
  default:
  - step:
      script:
      - apk add --no-cache bash python-dev py-pip libffi-dev openssl-dev gcc libc-dev make
      - pip install --no-cache-dir docker-compose
      - docker-compose build
      caches:
      - docker

Fix Bitbucket build for newer docker-compose
Fix Bitbucket build for newer docker-compose
