Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set source of pip #342

Merged
merged 5 commits into from
Nov 13, 2021
Merged

set source of pip #342

merged 5 commits into from
Nov 13, 2021

Conversation

XuHugo
Copy link
Contributor

@XuHugo XuHugo commented Nov 5, 2021

set source of pip in docker-agent
*You can modify the pip source by yourself, and then update the pip source with PIP parameters

Signed-off-by: XuHugo xq-310@163.com

set source of pip in docker-agent
*You can modify the pip source by yourself, and then update the pip source with PIP parameters

Signed-off-by: XuHugo <xq-310@163.com>
@XuHugo XuHugo requested a review from a team November 5, 2021 15:48
@XuHugo
Copy link
Contributor Author

XuHugo commented Nov 5, 2021

set source of pip in docker-agent
*You can modify the pip source by yourself, and then update the pip source with PIP parameters

Signed-off-by: XuHugo <xq-310@163.com>
apt-get install -y bash curl python-dev sudo \
python-pip build-essential openssh-client libffi-dev \
python3-pip build-essential openssh-client libffi-dev \
libssl-dev && \
pip install --upgrade pip ansible pyyaml && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use pip3 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't use it, it will prompt that python-pip is not found.

@yeasy
Copy link
Member

yeasy commented Nov 8, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yeasy yeasy merged commit d9ad569 into hyperledger:main Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants