mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
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>
25 lines
822 B
JSON
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"
|
|
}
|
|
}
|