Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

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

Closed
Syakyr opened this issue May 21, 2024 · 2 comments
Closed

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

Syakyr opened this issue May 21, 2024 · 2 comments
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
```

@Syakyr
Copy link
Collaborator Author

Syakyr commented Nov 18, 2024

Closing to archive this GitHub mirror.

@Syakyr Syakyr closed this as completed Nov 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant