From 27e64a8cd79e7db58e415b72f12bd9658d3dd70a Mon Sep 17 00:00:00 2001 From: Oliver Pajonk Date: Tue, 22 Jul 2025 12:18:29 +0000 Subject: [PATCH] Add DevContainer Support - added devcontainer.json - bumped Bazel version from 7.4.0 to 7.5.0 (the one present in the container) - added a small README note --- .bazelversion | 2 +- .devcontainer/devcontainer.json | 5 +++++ README.md | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.bazelversion b/.bazelversion index ba7f754d0..18bb4182d 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -7.4.0 +7.5.0 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..3a0ec07d3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "name": "eclipse-s-core", + "image": "ghcr.io/eclipse-score/devcontainer:latest", + "initializeCommand": "mkdir -p ${localEnv:HOME}/.cache/bazel" +} diff --git a/README.md b/README.md index d3281d922..2331f1c3e 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ Docs-as-code tooling for Eclipse S-CORE The S-CORE docs Sphinx configuration and build code. +> [!NOTE] +> This repository offers a [DevContainer](https://containers.dev/). +> For setting this up read [eclipse-score/devcontainer/README.md#inside-the-container](https://github.com/eclipse-score/devcontainer/blob/main/README.md#inside-the-container). + ## Building documentation #### Run a documentation build: