Skip to content

Commit

Permalink
Merge pull request #41 from duplocloud/feature/fix-pip-install-amazon…
Browse files Browse the repository at this point in the history
…-linux

Adding trusted host param for pip install
  • Loading branch information
zafarabbas authored Aug 13, 2024
2 parents 7e0604c + b541ef3 commit 3297cdd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 6 additions & 6 deletions AgentAmazonLinux2/Setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ py3Install () {

# install virtualenv flask
virtualenv flask
yes | flask/bin/pip install flask
yes | flask/bin/pip install requests
yes | flask/bin/pip install python-pytun
yes | flask/bin/pip install --upgrade python-iptables
yes | flask/bin/pip install docker
yes | flask/bin/pip install boto3
yes | flask/bin/pip --trusted-host pypi.python.org install flask
yes | flask/bin/pip --trusted-host pypi.python.org install requests
yes | flask/bin/pip --trusted-host pypi.python.org install python-pytun
yes | flask/bin/pip --trusted-host pypi.python.org install --upgrade python-iptables
yes | flask/bin/pip --trusted-host pypi.python.org install docker
yes | flask/bin/pip --trusted-host pypi.python.org install boto3

#########
cd $DAEMON_DIR
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2024-08-13

### Changed
- Added `--trusted-host pypi.python.org` parameter to all `pip install` commands in the Amazon Linux 2 setup script for improved consistency and reliability.

## 2024-04-18

### Added
Expand Down

0 comments on commit 3297cdd

Please sign in to comment.