Skip to content

Commit 2cfcd91

Browse files
PTrottierjeanp413
PTrottier
authored andcommitted
Add description on customizing the Docker image
1 parent c0fb8b5 commit 2cfcd91

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ At Gitpod, we've been asked a lot about how we do it. So we thought we might as
3030

3131
_Note_: Feel free to use the `nightly` tag to test the latest version, i.e. `gitpod/openvscode-server:nightly`.
3232

33+
#### Custom Environment
34+
- If you want to add dependencies to this Docker image, here is a template to help:
35+
```Dockerfile
36+
37+
FROM gitpod/openvscode-server:latest
38+
39+
USER root # to get permissions to install packages and such
40+
RUN # the installation process for software needed
41+
USER vscode-server # to restore permissions for the web interface
42+
43+
```
44+
- For additional possibilities, please consult the `Dockerfile` for OpenVSCode Server at https://github.com/gitpod-io/openvscode-releases/
45+
3346
### Linux
3447

3548
- [Download the latest release](https://github.com/gitpod-io/openvscode-server/releases/latest)

0 commit comments

Comments
 (0)