Skip to content

Commit

Permalink
🐋🔧:set devenv usage at openinf/grimesai-salvage-tex:lunar #724
Browse files Browse the repository at this point in the history
We have older lunaresque ruby runtime, but gets you going.

Refs: OpenINF/docker-fisher#60
Refs: https://x.com/OpenINF/status/1762686158784401517
Refs: OpenINF/openinf.github.io#1154

Cc: Princess Irulen [email protected]

PR URL: #724

Signed-off-by: Derek Lewis <[email protected]>
  • Loading branch information
DerekNonGeneric authored Mar 2, 2024
1 parent f11f227 commit 2b4f5bc
Show file tree
Hide file tree
Showing 6 changed files with 8,943 additions and 24 deletions.
1 change: 1 addition & 0 deletions .config/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
71 changes: 52 additions & 19 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
// For format details, see https://aka.ms/devcontainer.json. For config options,
// see documentation located at the following URL:
// https://github.com/OpenINF/docker-fisher/tree/main/library-scripts/docs
// For config options, see the README at:
// https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker
// https://github.com/OpenINF/docker-fisher
{
"name": "Docker outside of Docker",
// Or use a Dockerfile or Docker Compose file.
// TODO(DerekNonGeneric): update comment to include link to repo
"image": "docker.io/openinf/centos7-fisher:latest",

// TODO(): remove this whole feature once we have replicated it
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "latest",
"enableNonRootDocker": "true",
"moby": "false"
}
},
"name": "🦞 OpenINF GrimesAI Salvage Tex: Lunar (OpenINF Community)",
"image": "openinf/grimesai-salvage-tex:lunar",
"runArgs": ["--cap-add=SYS_ADMIN", "--security-opt", "seccomp=unconfined"],
"overrideCommand": false,

// Use this environment variable if you need to bind mount your local source
// code into a new container.
Expand All @@ -36,13 +25,57 @@
2222
],

"onCreateCommand": "fisher install jorgebucaran/nvm.fish && nvm install",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "fish .devcontainer/post-create.fish",
"postCreateCommand": "rbenv rehash && rbenv version local (cat .ruby-version)",

// Configure tool-specific properties.
// "customizations": {},
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container-specific settings.json values on container
// create.
"settings": {
"terminal.integrated.profiles.linux": {
"fish": {
"path": "fish"
}
},
"terminal.integrated.defaultProfile.linux": "fish"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
// https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
"aaron-bond.better-comments",
// https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
"davidanson.vscode-markdownlint",
// https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
"dbaeumer.vscode-eslint",
// https://marketplace.visualstudio.com/items?itemName=dprint.dprint
"dprint.dprint",
// https://marketplace.visualstudio.com/items?itemName=editorconfig.editorconfig
"editorconfig.editorconfig",
// https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
"esbenp.prettier-vscode",
// https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree
"Gruntfuggly.todo-tree",
// https://marketplace.visualstudio.com/items?itemName=KatjanaKosic.vscode-json5
"KatjanaKosic.vscode-json5",
// https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
"redhat.vscode-xml",
// https://marketplace.visualstudio.com/items?itemName=sissel.shopify-liquid
"sissel.shopify-liquid",
// https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
"streetsidesoftware.code-spell-checker",
// https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml
"tamasfe.even-better-toml",
// https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-remark
"unifiedjs.vscode-remark"
]
}
},

// Uncomment to connect as root instead.
// More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "node"
"remoteUser": "vscode"
}
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.2.2
13 changes: 10 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@
"Gruntfuggly.todo-tree",
// https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
"ms-azuretools.vscode-docker",
// https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
"ms-vscode-remote.vscode-remote-extensionpack",
// https://marketplace.visualstudio.com/items?itemName=KatjanaKosic.vscode-json5
"KatjanaKosic.vscode-json5",
// https://marketplace.visualstudio.com/items?itemName=Shopify.theme-check-vscode
"Shopify.theme-check-vscode",
// https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
"redhat.vscode-xml",
// https://marketplace.visualstudio.com/items?itemName=sissel.shopify-liquid
"sissel.shopify-liquid",
// https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
"streetsidesoftware.code-spell-checker",
// https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml
"tamasfe.even-better-toml",
// https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-remark
"unifiedjs.vscode-remark"
],
"unwantedRecommendations": []
"unwantedRecommendations": [
// https://marketplace.visualstudio.com/items?itemName=Shopify.theme-check-vscode
"Shopify.theme-check-vscode"
]
}
16 changes: 15 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,18 @@ source "https://rubygems.org"

gem "github-linguist", "~> 7.28"

gem "github-pages", group: :jekyll_plugins
gem "jekyll", "~> 4.3.0"
gem 'kramdown-parser-gfm', '~> 1.1'
group :jekyll_plugins do
gem "jekyll-redirect-from"
gem "jekyll-relative-links"
end

gem 'yaml-lint'

gem "webrick"

# Fix for https://github.com/github/pages-gem/issues/399.
gem 'dotenv'

gem 'rb-inotify'
Loading

0 comments on commit 2b4f5bc

Please sign in to comment.