add instructions for modifying

This commit is contained in:
Ben Potter
2021-03-16 09:43:56 -04:00
committed by GitHub
parent aa4f3bb103
commit 9d1fadad46

View File

@@ -9,6 +9,31 @@ An container image built for deploying code-server.
Docker Hub: `bencdr/code-server-deploy-container`
## Modifying your code-server environment:
We've included some examples on how to add additoonal dependencies in the root-level [Dockerfile](../Dockerfile):
```Dockerfile
...
# You can add custom software and dependencies for your environment below
# -----------
# Install a VS Code extension:
# Note: we use a different marketplace than VS Code. See https://github.com/cdr/code-server/blob/main/docs/FAQ.md#differences-compared-to-vs-code
RUN code-server --install-extension esbenp.prettier-vscode
# Install apt packages:
RUN sudo apt-get install -y ubuntu-make
# Copy files:
COPY deploy-container/myTool /home/coder/myTool
# -----------
...
```
---
## Environment variables: