Externalized parts of Docker file to base image; Updated README

This commit is contained in:
2026-04-18 21:22:07 -05:00
parent 75a0d62655
commit 5e05ffea16
2 changed files with 21 additions and 64 deletions

View File

@@ -24,22 +24,23 @@ It supports various language servers concurrently and handles language-specific
##### Option 1:
1. Install Podman.
2. Create `opt/` folder in `Docker/` and add any additional programs (lsps) there.
3. Configure the desired language servers in `src/defaultServers.js`.
3. Configure the start script at `Docker/scripts/start.sh` with any additional env args or mount points.
4. Run from `Newton-LSP/` `Docker/build.sh` .
5. Run `Docker/scripts/start.sh`
6. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
7. Transmit LSP messages via the WebSocket connection.
1. Create base image from [itdominator-base-image](https://code.itdominator.com/itdominator/Podman/src/branch/main/itdominator-base-image)
1. Create `opt/` folder in `Docker/` and add any additional programs (lsps) there.
1. Configure the desired language servers in `src/defaultServers.js`.
1. Configure the start script at `Docker/scripts/start.sh` with any additional env args or mount points.
1. Run from `Newton-LSP/` `Docker/build.sh` .
1. Run `Docker/scripts/start.sh`
1. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
1. Transmit LSP messages via the WebSocket connection.
##### Option 2:
1. Install Node.js.
2. Run 'npm install'.
3. Configure the desired language servers in `defaultServers.js`.
4. Run the script: `npm run start || start-verbose`.
5. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
6. Transmit LSP messages via the WebSocket connection.
1. Run 'npm install'.
1. Configure the desired language servers in `defaultServers.js`.
1. Run the script: `npm run start || start-verbose`.
1. Connect to the WebSocket server on `ws://localhost:9999/<language_endpoint>`.
1. Transmit LSP messages via the WebSocket connection.
## Configuration