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

Offline Build Problem #7476

Closed
nick-rudh opened this issue Feb 21, 2017 · 2 comments
Closed

Offline Build Problem #7476

nick-rudh opened this issue Feb 21, 2017 · 2 comments

Comments

@nick-rudh
Copy link

I am trying to build dotnet core on RHEL from source; however my development machine does not have internet access. So I found that when running the ./build.sh script I am suppose to use the handle "skipgenerateversion" however when it calls the "init-tools.sh" file it seems to try and grab some packages from the internet from host "dotnetcli.blob.core.dotnet.tar" I downloaded "dotnet-rhel-x64.latest.tar.gz" now i made the init-tools.sh script use the path to this extracted executable, but it seems to try and download some more stuff from "https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" and some others. Do I need to download these all or is there a flag that is suppose to be set when this script is called so it uses a local repo in the git repository?

thanks

Error:
Commencing build of managed components for Linux.x64.Debug
Running init-tools.sh
Installing dotnet cli...
curl: (6) Couldn't resolve host 'dotnetcli.blob.core.windows.net'
tar: ~/git/coreclr/Tools/dotnetcli/dotnet.tar: Cannot open: No such file or directory
Restoring BuildTools version 1.0.27-prerelease-01209-01...
~/git/coreclr/init-tools.sh: line 141: ~/git/coreclr/Tools/dotnetcli/dotnet: No such file or directory

@danmoseley
Copy link
Member

@weshaggard since he mentioned offline build today.

@weshaggard
Copy link
Member

For our normal repo builds we do require you to be online to initialize our tools and pull down external dependencies. So you will at least need to do one full build online before you can do a build offline.

We are working on providing a source tar that can build the full .NET Core product offline but it isn't at a state where it works yet. cc @ellismg

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants