version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.10
    working_directory: /go/src/github.com/ncabatoff/process-exporter
    environment:
      DEP_VERSION: "0.5.0"
    steps:
      - checkout
      - run: curl -L -s -o dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64
      - run: chmod +x dep
      - run: ./dep ensure -vendor-only
      - run: sudo apt-get -qq update
      - run: sudo apt-get install -y rpm
      - run: make style vet test build integ docker
version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.10
    working_directory: /go/src/github.com/ncabatoff/process-exporter
    environment:
      DEP_VERSION: "0.5.0"
    steps:
      - checkout
      - setup_remote_docker
      - run: curl -L -s -o dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64
      - run: chmod +x dep
      - run: ./dep ensure -vendor-only
      - run: sudo apt-get -qq update
      - run: sudo apt-get install -y rpm
      - run: make style vet test build integ docker
Make docker work in circleci.
Make docker work in circleci.
