File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,18 @@ commands:
64
64
type : string
65
65
steps :
66
66
- run : |
67
- amazon-linux-extras install python3.9 java-openjdk11 -y
68
- yum install -y git tar gcc gcc-c++ file lsof which procps
69
- ln -s /usr/bin/python3.9 /usr/bin/python3
67
+ amazon-linux-extras install java-openjdk11 -y
68
+ yum install wget make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel zlib-devel file lsof which procps tar git -y
69
+
70
+ cd /tmp
71
+ wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
72
+ tar -xvf Python-3.9.6.tgz
73
+ cd Python-3.9.6
74
+ ./configure --enable-optimizations --enable-shared
75
+ make altinstall
76
+ echo "/usr/local/lib" >> /etc/ld.so.conf.d/python3.9.conf
77
+ ldconfig
78
+ ln -s /usr/local/bin/python3.9 /usr/bin/python3
70
79
curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-<<parameters.bazel-arch>>"
71
80
mv "bazelisk-linux-<<parameters.bazel-arch>>" /usr/local/bin/bazel
72
81
chmod a+x /usr/local/bin/bazel
You can’t perform that action at this time.
0 commit comments