Additional changes needed to run
This commit is contained in:
parent
82c05c6e69
commit
8a6506c475
|
@ -2,7 +2,7 @@ FROM library/node:lts-bookworm
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y --no-install-recommends sudo \
|
&& apt install -y --no-install-recommends sudo telnet \
|
||||||
&& apt autoremove -y \
|
&& apt autoremove -y \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& echo "node ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/node \
|
&& echo "node ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/node \
|
||||||
|
|
|
@ -1,14 +1,19 @@
|
||||||
{
|
{
|
||||||
"name": "Basic Node.js",
|
"name": "Basic Node.js",
|
||||||
"build": { "dockerfile": "Dockerfile" },
|
"build": { "dockerfile": "Dockerfile" },
|
||||||
"remoteUser": "node",
|
"remoteUser": "root",
|
||||||
|
"forwardPorts": [8888, 4000],
|
||||||
|
"postCreateCommand": "gem install jekyll bundler && /bin/rm -rf node_modules && npm install && cd docs && bundle install && cd ..",
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/python:1": {
|
"ghcr.io/devcontainers/features/python:1": {
|
||||||
"installTools": true,
|
"installTools": true,
|
||||||
"version": "3.11"
|
"version": "latest"
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {},
|
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {},
|
||||||
"ghcr.io/jungaretti/features/ripgrep:1": {},
|
"ghcr.io/jungaretti/features/ripgrep:1": {},
|
||||||
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
|
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/ruby:1": {
|
||||||
|
"version": "3.1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Browse local Documentation - Chrome",
|
||||||
|
"request": "attach",
|
||||||
|
"type": "chrome",
|
||||||
|
"url": "http://localhost:4000/enigma-bbs/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Start Jekyll (ENiGMA½ documentation server)",
|
||||||
|
"command": "cd docs && bundle exec jekyll serve",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "(re)build Jekyll bundles",
|
||||||
|
"command": "cd docs && bundle install",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "(re)build node modules",
|
||||||
|
"command": "/bin/rm -rf node_modules && npm install",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ENiGMA½ new configuration",
|
||||||
|
"command": "./oputil.js config new",
|
||||||
|
"type": "shell"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -30,3 +30,4 @@ end
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||||
|
|
||||||
|
gem "webrick"
|
Loading…
Reference in New Issue