This file contains 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
#!/bin/bash -xeu | |
# -e used in shebang and pipefail because if there's | |
# a failure somewhere mid-pipe chain WE NEED TO KNOW | |
# -u throws an error when using undefined variables | |
set -o pipefail | |
git clone https://github.com/istio/tools.git --depth 1 | |
pushd tools/docker/build-tools | |
git fetch --tags | |
git checkout "${ISTIO_VERSION}" |