-
Notifications
You must be signed in to change notification settings - Fork 326
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
Installing git feature is slow #337
Comments
Are you using the default options for the With default options, it takes 12.7 sec - action run With |
Screenshot was taken having this configuration: "ghcr.io/devcontainers/features/git": {
"version": "latest",
"ppa": false
} However, I had also tried with |
Alright Maybe |
@mataslib Linux distributions ship git inside them, but only one version. The PPA option on Ubuntu allows the use of pre-built versions of git other than the one in the distro. In other cases, it has to be compiled to be installed, which takes a while. This is generally a problem with things that are a core part of Linux distros (e.g. Python has similar challenges). Using You can pre-build your image if you really want the latest version of git to avoid this problem. https://containers.dev/implementors/reference/#prebuilding @samruddhikhandale Should we keep this open to track potentially pre-building git ahead of time? |
ℹ️ This is a separate issue tracked in #323 |
Yep, sounds good 👍 |
@Chuxel Thank you kindly for clarification. 👍 |
Is it normal that git feature takes about ~10 minutes to install? It's even building some kind of translations...
Win11
Wsl2
Docker for desktop
Dell XPS 9570, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2208 Mhz, 6 Core(s), 12 Logical Processor(s), 64 GB ram, 1 TB SSD Samsung 980
The text was updated successfully, but these errors were encountered: