Skip to content

Reformulate dev environment as a Dockerfile-based devcontainer#1

Merged
MatejGomboc merged 2 commits into
mainfrom
reformulate-as-devcontainer
Jun 17, 2026
Merged

Reformulate dev environment as a Dockerfile-based devcontainer#1
MatejGomboc merged 2 commits into
mainfrom
reformulate-as-devcontainer

Conversation

@MatejGomboc

Copy link
Copy Markdown
Member

Reformulates this repo from a prebuilt-image dev environment into a plain Dockerfile consumed directly as a devcontainer / CI container, porting the useful pieces from the deprecated ARMCortexM-CppLib-DevEnv.

What changed

  • Dockerfile — multi-stage build of the toolchain: arm-none-eabi GCC 14.3.rel1, CMake, Ninja, Task, and LLVM FileCheck. Removed cosign and the GHCR publish/sign/cleanup machinery (no image is published anymore). Labels + licence updated to embedded-society / GPL-3.0.
  • CIci_pr_validation.yml (hadolint + docker build without push + Trivy scan) and scheduled_build.yml (weekly no-cache build so a vanished upstream download URL surfaces even without a PR).
  • Dev config.dockerignore, .editorconfig, .gitattributes, .vscode/, .github/ (CODEOWNERS, dependabot).
  • README rewritten around build-from-Dockerfile / devcontainer usage.
  • Renamed LICENSELICENCE for org consistency.

Consumed by

arm-cortex-mx-core-tests adds this repo as a submodule and builds its .devcontainer + CI from this Dockerfile.

🤖 Generated with Claude Code

Port the toolchain from the deprecated ARMCortexM-CppLib-DevEnv, dropping
the prebuilt-image model in favour of a Dockerfile consumed directly as a
devcontainer / CI container.

- Dockerfile: arm-none-eabi GCC 14.3.rel1, CMake, Ninja, Task and LLVM
  FileCheck. Removed cosign and the GHCR publish/sign/cleanup machinery;
  updated labels and licence to embedded-society / GPL-3.0.
- CI: ci_pr_validation.yml (hadolint + docker build + Trivy, no push) and
  scheduled_build.yml (weekly no-cache build to catch upstream drift).
- Dev config: .dockerignore, .editorconfig, .gitattributes, .vscode,
  .github (CODEOWNERS, dependabot).
- README rewritten around build-from-Dockerfile / devcontainer usage.
- Rename LICENSE -> LICENCE for org consistency.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Required by the embedded-society org Actions policy ("Require actions to
be pinned to a full-length commit SHA"). Each action now references a
40-char SHA with a version comment for Dependabot.

Also corrects the Trivy action pin: 0.34.2 was never a valid tag
(trivy-action tags are v-prefixed), updated to v0.36.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MatejGomboc MatejGomboc reopened this Jun 17, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@MatejGomboc MatejGomboc merged commit 463ca26 into main Jun 17, 2026
2 checks passed
@MatejGomboc MatejGomboc deleted the reformulate-as-devcontainer branch June 17, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants