Skip to content

Add DevContainer#187

Merged
mathieu-benoit merged 1 commit into
mainfrom
devcontainer
Jun 3, 2025
Merged

Add DevContainer#187
mathieu-benoit merged 1 commit into
mainfrom
devcontainer

Conversation

@mathieu-benoit

@mathieu-benoit mathieu-benoit commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

Add DevContainer

To simplify and accelerate contributions, let's have a DevContainer showing the tools and versions needed.

For example, currently, opening this repo in Codespace, will land to this error with yarn install:

yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error hugo-cli@0.14.0: The engine "node" is incompatible with this module. Expected version ">= 20". Got "16.20.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Which is not good, that's because the default Node version is v16.20.2.

This PR adds the DevContainer with the required tools:

  • Node 20
  • Go
    With that someone can just come and run this right away, and easily test and contribute:
yarn install
yarn run hugo server

Not mandatory, but we are also adding in this DevContaine these tools:

  • Docker
  • Kind
  • score-compose
  • score-k8s

Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
@mathieu-benoit mathieu-benoit self-assigned this Jun 3, 2025
@mathieu-benoit mathieu-benoit merged commit acdb926 into main Jun 3, 2025
6 checks passed
@mathieu-benoit mathieu-benoit deleted the devcontainer branch June 3, 2025 15:46
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.

1 participant