Devcontainer: Add a Fedora 41 devcontainer for use in CI

This commit is contained in:
Andrew Kaster
2024-12-25 14:55:14 -07:00
committed by Andrew Kaster
parent 6e2785ad73
commit 35b636acb3
Notes: github-actions[bot] 2024-12-31 20:43:42 +00:00
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Fedora CI",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"context": ".",
"dockerfile": "Dockerfile",
"args": {
"VERSION": "${localEnv:VERSION:41}"
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"../features/ladybird" : {
"distro": "fedora"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// Configure tool-specific properties.
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}