Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
Work around for bazel 0.27.0 issue
Browse files Browse the repository at this point in the history
Signed-off-by: Taiki Ono <taiki@tetrate.io>
  • Loading branch information
Taiki Ono committed Jun 26, 2019
1 parent a2165de commit 41bf7ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions centos/build_container/getenvoy_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ set -e

./build_container_centos.sh

# Work around for bazel 0.27.0 issue
BAZEL_VERSION="0.26.1"
BAZEL_INSTALLER="bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh"
curl -OL "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/${BAZEL_INSTALLER}"
chmod u+x "./${BAZEL_INSTALLER}"
"./${BAZEL_INSTALLER}"
rm "./${BAZEL_INSTALLER}"

# For FIPS (Clang 6.0.1 to detect GCC)
mkdir -p /usr/lib/gcc/x86_64-redhat-linux
ln -s /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 /usr/lib/gcc/x86_64-redhat-linux/7
Expand Down

0 comments on commit 41bf7ea

Please sign in to comment.