Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation]: Write a guide for Code Server documentation #4

Open
Syakyr opened this issue May 21, 2024 · 1 comment
Open

[Documentation]: Write a guide for Code Server documentation #4

Syakyr opened this issue May 21, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Syakyr
Copy link
Collaborator

Syakyr commented May 21, 2024

To write a guide with regards to customising code server and deploy it in Coder:

  • installing and persisting packages
  • updating to newer versions
  • etc.
@Syakyr Syakyr added this to the 0.4.0 release milestone May 23, 2024
@Syakyr Syakyr added the documentation Improvements or additions to documentation label May 23, 2024
@Syakyr
Copy link
Collaborator Author

Syakyr commented Jun 12, 2024

From older Kapitan Hull guide site:

Customising VSCode Server

The prebuilt VSCode image was built using a Dockerfile which can be
found in this repository at
docker/vscode-server/vscode-server.Dockerfile.
The Dockerfile was customised by the MLOps team at AI Singapore to
include tools deemed relevant for machine learning development, in the
context of the organisation's tech stack and infrastructure.

Aside from the server itself, here are some of the tools that are
included in the image:

  • Git
  • Miniconda
  • kubectl
  • Helm
  • AWS CLI

Often times, project teams would like to further customise the VSCode
server image to their liking. One can edit the Dockerfile and build the
custom image:

=== "Linux/macOS"

```bash
docker build \
    -t {{cookiecutter.registry_project_path}}/vscode-server-custom:0.1.0 \
    -f docker/vscode-server/vscode-server.Dockerfile \
    --platform linux/amd64 .
docker push {{cookiecutter.registry_project_path}}/vscode-server-custom:0.1.0
```

=== "Windows PowerShell"

```powershell
docker build `
    -t {{cookiecutter.registry_project_path}}/vscode-server-custom:0.1.0 `
    -f docker/vscode-server/vscode-server.Dockerfile `
    --platform linux/amd64 .
docker push {{cookiecutter.registry_project_path}}/vscode-server-custom:0.1.0
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant