Skip to content

Conversation

stemann
Copy link

@stemann stemann commented Aug 15, 2025

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).

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).
@giordano
Copy link
Member

My understanding is that Dockerfiles were deprecated, that's why #57006 removed it.

@stemann
Copy link
Author

stemann commented Aug 15, 2025

I did notice #57006 - is there any documentation for Dockerfile being deprecated for devcontainer definitions? I can't seem to find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants