File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
1313 apt-get -y update
1414 apt-get -y install \
1515 cmake \
16- g++-7 \
16+ g++-9 \
1717 git \
1818 python3-dev \
1919 python3-numpy \
@@ -22,7 +22,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
2222
2323 # install bazel
2424 export BAZEL_VERSION=${BAZEL_VERSION:- `cat $(dirname " $0 " )/ Dockerfiles/ BAZEL_VERSION`}
25- apt-get -y install pkg-config zip g++ zlib1g-dev unzip python
25+ apt-get -y install pkg-config zip g++ zlib1g-dev unzip python3
26+ update-alternatives --install /usr/bin/python python /usr/bin/python3 1
2627 bazel_installer=bazel-${BAZEL_VERSION} -installer-linux-x86_64.sh
2728 wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION} /${bazel_installer}
2829 chmod +x /tmp/${bazel_installer}
3334 echo " This script supports only Debian-based operating systems (like Ubuntu)." \
3435 " Please consult README file for manual installation on your '$OSTYPE ' OS."
3536 exit 1
36- fi
37+ fi
You can’t perform that action at this time.
0 commit comments