-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Updated devcontainer definition #59285
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
base: master
Are you sure you want to change the base?
Conversation
|
My understanding is that Dockerfiles were deprecated, that's why #57006 removed it. |
|
I did notice #57006 - is there any documentation for Dockerfile being deprecated for devcontainer definitions? I can't seem to find it. |
|
@M-PERSIC any comments on this? |
|
Dockerfiles aren't deprecated for devcontainers, in this case they were unneeded because we could specify the entire development environment via Some additional comments:
|
|
I think it is much more important to have caching than whether there is a
During development of the devcontainer, yes - then the cache might get invalidated. During development of Julia, no - the cache would not be invalidated. I would not prioritize development of the devcontainer. I only added the C/C++ Extension Pack to quiet vscode/codespaces - in contrast to just having the
|
|
If that's the case, then adding back the Dockerfile is fine. Ideally we would enable codespace prebuilds for complete dev environment caching, but that's for a future discussion :) Additional channels such as lts or nightly via the julia feature could be nice as well. |
|
Bump (I would suggest to just have a reasonably lean install with the juliaup |
Ensuring:
* Running as non-root user to make tests pass, notably `Base.runtests("file")` - by basing container on mcr.microsoft.com/devcontainers/cpp.
* Availability of `gdb`.
* Caching when building/creating container by using build stages (and devcontainer features) instead of `onCreateCommand`.
Also added the Makefile Tools extension (and the C/C++ Extension Pack to quiet vscode/codespaces).
Also, updated python/python3 package name in docs.
3c9d610 to
d4335e6
Compare
Ensuring:
Base.runtests("file")- by basing container onmcr.microsoft.com/devcontainers/cpp.gdb.onCreateCommand.Also added the Makefile Tools extension (and the C/C++ Extension Pack to quiet vscode/codespaces).