-
Notifications
You must be signed in to change notification settings - Fork 52
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
Speed up devcontainer build #144
Comments
I will push the image to GitHub Container registry |
From other Jekyll + GitHub Pages + Docker setups I have used, we have struggled to get Ruby to keep a cache of everything it needs to run. It's been a year(ish) since I looked, but it used to do a fresh If @oleksis's container is doing that then using the image should help skip a bunch of slow steps. |
Thanks for the advice @jefftriplett |
External links |
Great work on speeding up the build. I wonder if there is something we can do on the local end. It's still relatively slow. I do wonder what the balance should be as our codespaces container is now almost 5GB! |
Thank @kjaymiller, We can make the image smaller if we don't need Docker in Docker or Act blackpythondevs.github.io/.devcontainer/devcontainer.json Lines 19 to 20 in 64a13a0
And instead of compiling Python add Python as a DevContainers feature |
I think we don't need docker-in-docker as we're not packaging anything in our application. (If I remember act was why you needed docker-indocker) |
Correct then I will update the |
Not sure why but my devcontainer/codespace for the website takes incredibly long to build.
Perhaps we can investigate and make sure that we're not over-installing dependencies.
The text was updated successfully, but these errors were encountered: