Merge pull request #1179 from jetstack/docker-host

Add DOCKER_HOST env var to gitlab build
This commit is contained in:
jetstack-bot 2019-01-08 18:15:30 +00:00 committed by GitHub
commit 94b94beac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@ image: eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181107-8aac55d-0.18.0
variables:
DOCKER_DRIVER: overlay
DOCKER_HOST: tcp://localhost:2375
services:
- docker:1.12-dind
before_script:
- curl -L "https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz" | tar -C /usr/bin -xvzf- --strip-components=3 usr/local/bin/docker
- export DOCKER_HOST=${DOCKER_PORT}
- docker info > /dev/null
build: