File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,11 @@ phases:
3333 - mkdir -p $HOME/bin && cp ./kubectl $HOME/bin/kubectl && export PATH=$PATH:$HOME/bin
3434 - echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
3535 # install aws
36+ - pip3 uninstall awscli -y
3637 - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
3738 - unzip awscliv2.zip
3839 - ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/bin --update
40+ - which aws
3941 - aws --version
4042 # install aws-iam-authenticator
4143 - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator
Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ phases:
77 pre_build :
88 commands :
99 - echo Publish the image to Public ECR
10+ - pip3 uninstall awscli -y
1011 - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
1112 - unzip awscliv2.zip
12- - which aws
13- - ls -l /root/.pyenv/shims/aws
14- - ./aws/install --bin-dir /root/.pyenv/shims --install-dir /root/.pyenv/shims --update
13+ - ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/bin --update
1514 - which aws
1615 - aws --version
1716 build :
Original file line number Diff line number Diff line change 66 pre_build :
77 commands :
88 - echo Sync latest image from Amazon ECR Public Gallery
9+ - pip3 uninstall awscli -y
910 - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
1011 - unzip awscliv2.zip
1112 - ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/bin --update
13+ - which aws
1214 - aws --version
1315 build :
1416 commands :
You can’t perform that action at this time.
0 commit comments