Last active
June 15, 2017 19:57
-
-
Save tmc/5d03306e71a40c13eef7d16880ab7c2c to your computer and use it in GitHub Desktop.
allow control of DOCKER_API_VERSION in circleci 2.0 local build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/local/bin/circleci-orig 2017-06-15 12:52:44.000000000 -0700 | |
+++ /usr/local/bin/circleci 2017-06-15 12:56:17.000000000 -0700 | |
@@ -133,6 +133,7 @@ | |
fi | |
docker run -it --rm \ | |
+ -e DOCKER_API_VERSION=${DOCKER_API_VERSION:-1.23} \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v $(pwd):$(pwd) \ | |
-v ~/.circleci/:/root/.circleci \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment