-
Notifications
You must be signed in to change notification settings - Fork 16
Add devcontainer for docs #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
16222c8
cfe6a3e
dc5b6cd
c1aa338
e7f3431
a5137b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -350,4 +350,3 @@ MigrationBackup/ | |
|
|
||
| .idea | ||
| .DS_Store | ||
| .devcontainer | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): bullseye, buster | ||
| ARG VARIANT=bullseye | ||
| FROM mcr.microsoft.com/vscode/devcontainers/jekyll:0-${VARIANT} | ||
|
|
||
| # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 | ||
| ARG NODE_VERSION="none" | ||
| RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi | ||
|
|
||
| # [Optional] Uncomment this section to install additional OS packages. | ||
| # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
| # && apt-get -y install --no-install-recommends <your-package-list-here> | ||
|
|
||
| # [Optional] Uncomment this line to install global node packages. | ||
| # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1 |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||
| # [Choice] Debian OS version (use 2.7-bullseye on local arm64/Apple Silicon): 2.7-bullseye, 2.7-buster | ||||
| ARG VARIANT=2.7-bullseye | ||||
| FROM mcr.microsoft.com/vscode/devcontainers/ruby:${VARIANT} | ||||
| COPY library-scripts/meta.env /usr/local/etc/vscode-dev-containers | ||||
|
|
||||
| # ENV Variables required by Jekyll | ||||
| ENV LANG=en_US.UTF-8 \ | ||||
| LANGUAGE=en_US:en \ | ||||
| TZ=Etc/UTC \ | ||||
| LC_ALL=en_US.UTF-8 \ | ||||
| LANG=en_US.UTF-8 \ | ||||
|
||||
| LANG=en_US.UTF-8 \ |
Copilot
AI
Feb 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base.Dockerfile file is not referenced anywhere in the devcontainer configuration. The devcontainer.json uses "Dockerfile" (not "base.Dockerfile"), and Dockerfile doesn't reference base.Dockerfile either. This file appears to be unused and should either be removed or properly integrated into the build configuration if it was intended to be used.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,35 @@ | ||||||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||||||
| // https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/jekyll | ||||||
|
||||||
| // https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/jekyll | |
| // https://github.com/devcontainers/templates/tree/main/src/jekyll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot
AI
Feb 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace after the closing brace. This should be removed for consistency.
| } | |
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,12 @@ | ||||||
| #!/bin/sh | ||||||
|
|
||||||
| # Install the version of Bundler. | ||||||
| if [ -f Gemfile.lock ] && grep "BUNDLED WITH" Gemfile.lock > /dev/null; then | ||||||
| cat Gemfile.lock | tail -n 2 | grep -C2 "BUNDLED WITH" | tail -n 1 | xargs gem install bundler -v | ||||||
|
||||||
| cat Gemfile.lock | tail -n 2 | grep -C2 "BUNDLED WITH" | tail -n 1 | xargs gem install bundler -v | |
| grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1 | xargs gem install bundler -v |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| * text=auto | ||
|
|
||
| *.sh text eol=lf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
| // for the documentation about the tasks.json format | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "Serve", | ||
| "type": "shell", | ||
| "command": "bundle exec jekyll serve --livereload", | ||
| "group": { | ||
| "kind": "test", | ||
| "isDefault": true | ||
|
Comment on lines
+10
to
+12
|
||
| }, | ||
| "isBackground": true, | ||
|
||
| }, | ||
| { | ||
| "label": "Build", | ||
| "type": "shell", | ||
| "command": "bundle exec jekyll build", | ||
| "group": { | ||
| "kind": "build", | ||
| "isDefault": true | ||
| }, | ||
| } | ||
|
||
| ] | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base.Dockerfile references "library-scripts/meta.env" which does not exist in the repository. If this file is intended to be used (though it currently appears unused), this COPY instruction would fail during build.