diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8bdadb3 --- /dev/null +++ b/build.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | set -e | ||
4 | docker_api_version=$(docker version) | ||
5 | docker_api_version=$(docker version | grep API | head -n 1 | awk '{print $3}') | ||
6 | echo "Docker API version is $docker_api_version..." | ||
7 | export DOCKER_API_VERSION=$docker_api_version \ No newline at end of file | ||