Skip to content

Commit 60f4ec4

Browse files
author
Marvin Gajek
committed
feat(Containerization): Update devcontainer to Ubuntu 24.04 with build tools
Switch from Debian Bullseye to Ubuntu 24.04 for CI alignment and fix Python package compatibility issues with isort installation. Install mdl for markdown linting, Python dependencies from tools/requirements.txt, pre-commit hooks and yarn dependencies for website build. Add VS Code markdown linting extension to devcontainer configuration. Update README with quick start information for developers using the devcontainer with IDEs supporting the devcontainer specification. Closes: #623
1 parent 1b41cb0 commit 60f4ec4

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Rucio-Docs",
3-
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {
66
"version": "latest",
@@ -10,5 +10,13 @@
1010
"ghcr.io/devcontainers/features/node:1": {},
1111
"ghcr.io/devcontainers/features/python:1": {},
1212
"ghcr.io/devcontainers/features/ruby:1": {}
13+
},
14+
"postCreateCommand": "gem install mdl && python3 -m pip install --break-system-packages -r tools/requirements.txt pre-commit && cd website && yarn install",
15+
"customizations": {
16+
"vscode": {
17+
"extensions": [
18+
"davidanson.vscode-markdownlint"
19+
]
20+
}
1321
}
14-
}
22+
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ links](https://github.com/rucio/documentation/actions/workflows/check_external_l
88
This project contains the documentation for the **[Rucio](https://github.com/rucio/rucio)** data-management
99
software.
1010

11+
> **Quick Start**: A [devcontainer](.devcontainer/devcontainer.json) is available with all tools pre-installed. Open in IDEs supporting devcontainers (e.g. VS Code with Dev Containers extension).
1112
1213
## Contribution
1314

0 commit comments

Comments
 (0)