Skip to content

feat: Added devcontainer support#272

Open
BiosPlus wants to merge 1 commit into
colinwilson:releasefrom
BiosPlus:devcontainer
Open

feat: Added devcontainer support#272
BiosPlus wants to merge 1 commit into
colinwilson:releasefrom
BiosPlus:devcontainer

Conversation

@BiosPlus

@BiosPlus BiosPlus commented Jun 7, 2026

Copy link
Copy Markdown

Changes

Adds a dev container configuration for contributors using VS Code with either Docker or Podman.

The setup includes:

  • A Dockerfile based on debian:bookworm-slim that installs Hugo Extended and Go at the minimum versions required by Lotus Docs (Hugo ≥ 0.140.0, Go ≥ 1.21.0)
  • Architecture detection so the container builds correctly on both amd64 and arm64 machines (Intel/AMD and Apple Silicon)
  • A non-root vscode user matching the devcontainer convention
  • devcontainer.json configured to run hugo mod get on first create and start a Hugo server automatically on attach, with port 1313 forwarded
image

Tests

  • Automated tests have been added
  • This PR does not require tests

Changelog

  • Entry has been added to changelog
  • This PR does not make a user-facing change

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

@netlify

netlify Bot commented Jun 7, 2026

Copy link
Copy Markdown

👷 Deploy request for hugo-lotusdocs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit dab252c

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