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

Enable oras pull to use system proxy #7220

Closed
wants to merge 2 commits into from
Closed

Enable oras pull to use system proxy #7220

wants to merge 2 commits into from

Conversation

IsMrX
Copy link
Contributor

@IsMrX IsMrX commented Sep 13, 2024

Description

If you encounter some network reasons that cause the download speed of resources on github and apt source stations to be very slow or fail, maybe we can use the system network proxy to solve it. The latest version supports the network proxy configured by the system environment variable https_proxy. This commit solves the problem that the https_proxy system network proxy configured by oras pull is not effective. Fixed issues 7006

1. Execute the system command before ./compile.sh

export https_proxy="http://<your HTTP proxy service IP>:<your HTTP proxy service Port>"

@IsMrX IsMrX requested a review from a team as a code owner September 13, 2024 03:19
@github-actions github-actions bot added size/small PR with less then 50 lines Framework Framework components labels Sep 13, 2024
@igorpecovnik igorpecovnik added the Needs Documentation New feature needs documentation entry label Sep 13, 2024
@IsMrX
Copy link
Contributor Author

IsMrX commented Sep 13, 2024

I have added the description document,This commit fixes the problem that oras uses env, which causes the https_proxy environment variable configured by the user to be invalid and cannot be pulled using a proxy. issues @igorpecovnik

@github-actions github-actions bot added size/large PR with 250 lines or more Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... and removed size/small PR with less then 50 lines labels Sep 13, 2024
@IsMrX IsMrX closed this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Framework components Hardware Hardware related like kernel, U-Boot, ... Needs Documentation New feature needs documentation entry Patches Patches related to kernel, U-Boot, ... size/large PR with 250 lines or more
Development

Successfully merging this pull request may close these issues.

2 participants