From 817b98a60f1c0de4e285a92120f5c571070148b5 Mon Sep 17 00:00:00 2001 From: Marvin Gajek Date: Wed, 3 Dec 2025 18:04:37 +0100 Subject: [PATCH] enhancement: modify devcontainer with Ubuntu 24.04 and required build tools - Install mdl, Python deps and yarn dependencies - Switch from Debian Bullseye to Ubuntu 24.04 for CI alignment. Fixes Python package compatibility issues (isort installation) Closes rucio#623 --- .devcontainer/devcontainer.json | 12 ++++++++++-- README.md | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0b7f483195e..bad99c55647 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Rucio-Docs", - "image": "mcr.microsoft.com/devcontainers/base:bullseye", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": { "version": "latest", @@ -10,5 +10,13 @@ "ghcr.io/devcontainers/features/node:1": {}, "ghcr.io/devcontainers/features/python:1": {}, "ghcr.io/devcontainers/features/ruby:1": {} + }, + "postCreateCommand": "gem install mdl && python3 -m pip install --break-system-packages -r tools/requirements.txt pre-commit && cd website && yarn install", + "customizations": { + "vscode": { + "extensions": [ + "davidanson.vscode-markdownlint" + ] + } } -} +} \ No newline at end of file diff --git a/README.md b/README.md index a9e62ad2511..0d67f5a5285 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ links](https://github.com/rucio/documentation/actions/workflows/check_external_l This project contains the documentation for the **[Rucio](https://github.com/rucio/rucio)** data-management software. +> **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). ## Contribution