Files
servo/.devcontainer/devcontainer.json
Jonathan Schwender 04ca254f84 devcontainer: Use new prebuilt devcontainer image. (#43139)
Follow-up to #43131.

Testing: Tested locally. Note: This only works for x86_64 based systems.
Arm Linux users will need to build from source, but building in the
devcontainer on arm linux is anyway not working currently.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2026-03-11 17:27:32 +00:00

25 lines
822 B
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
"image": "ghcr.io/servo/servo/devcontainer-ubuntu:latest",
// Alternatively, uncomment the "build" property below to build the image from the Dockerfile in this folder.
// "build": {
// "dockerfile": "Ubuntu.Dockerfile",
// "context": ".."
// },
// Most dependencies are installed in the image, but we run mach bootstrap to ensure
// the environment matches what's expected in the current servo version, which might
// have changed since the image was built.
"postCreateCommand":
"./mach bootstrap --yes",
"containerEnv": {
"CC": "clang",
"CXX": "clang++",
"UV_PROJECT_ENVIRONMENT": ".devcontainer-venv"
}
}