version: "2"
services:
  consul:
    image: "docker.io/library/consul:1.1.0"
    hostname: "consul"
    environment:
      - 'CONSUL_LOCAL_CONFIG={"skip_leave_on_interrupt": true, "disable_update_check": true}'
    privileged: true
  etcd:
    image: "quay.io/coreos/etcd:v3.2.17"
    hostname: "etcd"
    command: "etcd -name etcd0 -advertise-client-urls http://0.0.0.0:4002 -listen-client-urls http://0.0.0.0:4002 -initial-cluster-token etcd-cluster-1 -initial-cluster-state new"
    privileged: true
  test:
    depends_on:
      - consul
      - etcd
    image: "quay.io/cilium/cilium-builder:2018-06-14"
    command: "bash -c 'cd /go/src/github.com/cilium/cilium/; make tests-ginkgo-real'"
    privileged: true
    volumes:
      - "./../:/go/src/github.com/cilium/cilium/"

version: "2"
services:
  consul:
    image: "docker.io/library/consul:1.1.0"
    hostname: "consul"
    environment:
      - 'CONSUL_LOCAL_CONFIG={"skip_leave_on_interrupt": true, "disable_update_check": true}'
    privileged: true
  etcd:
    image: "quay.io/coreos/etcd:v3.2.17"
    hostname: "etcd"
    command: "etcd -name etcd0 -advertise-client-urls http://0.0.0.0:4002 -listen-client-urls http://0.0.0.0:4002 -initial-cluster-token etcd-cluster-1 -initial-cluster-state new"
    privileged: true
  test:
    depends_on:
      - consul
      - etcd
    image: "quay.io/cilium/cilium-builder:2018-06-21"
    command: "bash -c 'cd /go/src/github.com/cilium/cilium/; make tests-ginkgo-real'"
    privileged: true
    volumes:
      - "./../:/go/src/github.com/cilium/cilium/"

Update cilium-builder in unit tests to 2018-06-21
tests: Update cilium-builder in unit tests to 2018-06-21

Signed-off-by: André Martins <bc9800b9d52a24cce72a73dd528afed53f10e5fc@cilium.io>
