{"id":23370044,"url":"https://github.com/maastrichtu-ids/code-server","last_synced_at":"2025-04-10T16:13:10.786Z","repository":{"id":92531294,"uuid":"299536142","full_name":"MaastrichtU-IDS/code-server","owner":"MaastrichtU-IDS","description":"🧑‍💻 VisualStudio Code server Docker image","archived":false,"fork":false,"pushed_at":"2025-02-10T16:15:03.000Z","size":78,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T14:04:12.813Z","etag":null,"topics":["docker","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaastrichtU-IDS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-29T07:18:42.000Z","updated_at":"2025-02-10T16:15:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"87e8e50e-5520-4a6b-b621-a3b162b5afed","html_url":"https://github.com/MaastrichtU-IDS/code-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaastrichtU-IDS%2Fcode-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaastrichtU-IDS%2Fcode-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaastrichtU-IDS%2Fcode-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaastrichtU-IDS%2Fcode-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaastrichtU-IDS","download_url":"https://codeload.github.com/MaastrichtU-IDS/code-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248251406,"owners_count":21072689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","visual-studio-code"],"created_at":"2024-12-21T15:33:03.255Z","updated_at":"2025-04-10T16:13:10.770Z","avatar_url":"https://github.com/MaastrichtU-IDS.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"**VisualStudio Code server** images based on https://github.com/cdr/code-server\n\n* Hosted on [GitHub Container Registry](https://github.com/orgs/MaastrichtU-IDS/packages/container/package/code-server) ([ghcr.io](https://ghcr.io)) to avoid DockerHub pull limitations, and easily deploy on clusters (such as Kubernetes).\n* Additionally installed on the CPU image: Python3, NodeJS (npm, yarn), Java JDK 11, PHP, Fortran\n\n\u003e Alternative: [jefferyb code-server image for OpenShift](https://github.com/jefferyb/code-server-openshift)\n\n## Automatically updated\n\n[![Publish Docker image](https://github.com/MaastrichtU-IDS/code-server/workflows/Publish%20Docker%20image/badge.svg)](https://github.com/MaastrichtU-IDS/code-server/actions) [![Publish GPU Docker image](https://github.com/MaastrichtU-IDS/code-server/actions/workflows/publish-docker-gpu.yml/badge.svg)](https://github.com/MaastrichtU-IDS/code-server/actions/workflows/publish-docker-gpu.yml)\n\nThe image on [ghcr.io](https://ghcr.io) is automatically updated every week (Monday at 3:00 GMT+1) by a GitHub Actions workflow to match the `latest` tag of [codercom/code-server](https://hub.docker.com/r/codercom/code-server)\n\nThis image extends the [`Dockerfile`](https://github.com/cdr/code-server/blob/main/ci/release-image/Dockerfile) defined at https://github.com/cdr/code-server\n\n## Code server on CPU\n\n### Run\n\n```bash\ndocker run --rm -it -p 8080:8080 -e PASSWORD=password -v $(pwd):/home/coder/project ghcr.io/maastrichtu-ids/code-server:latest\n```\n\nIn the container:\n\n* User, with `sudo` privileges: `coder`\n* Workspace path: `/home/coder`\n\nYou can also provide the URL of a git repository to be cloned at start, if a `requirements.txt`, `yarn.lock` or `package-lock.json` are present, they will be automatically installed\n\n```bash\ndocker run --rm -it -p 8080:8080 -e PASSWORD=password -e GIT_URL=https://github.com/MaastrichtU-IDS/play-fair ghcr.io/maastrichtu-ids/code-server:latest\n```\n\n \n\n### Build\n\nFeel free to edit the `Dockerfile` to install additional packages in the image.\n\n```bash\ndocker build -t ghcr.io/maastrichtu-ids/code-server:latest .\n```\n\n### Push\n\n```bash\ndocker push ghcr.io/maastrichtu-ids/code-server:latest\n```\n\n## Code server on Nvidia GPU\n\nImages hosted on the GitHub Container Registry: https://github.com/orgs/MaastrichtU-IDS/packages/container/package/code-server-gpu\n\nBased on Docker images provided by Nvidia:\n\n* Tensorflow: https://ngc.nvidia.com/catalog/containers/nvidia:tensorflow\n* PyTorch: https://ngc.nvidia.com/catalog/containers/nvidia:pytorch\n\nThe best way to update the images is to update the version of the environment variables `TENSORFLOW_IMAGE` and `PYTORCH_IMAGE` in the [`publish-docker-gpu.yml` workflow](https://github.com/MaastrichtU-IDS/code-server/blob/main/.github/workflows/publish-docker-gpu.yml), and push the changes to the `main` branch, the new images version will be built and published by GitHub Actions\n\nYou can also build the images locally.\n\nBuild Tensorflow:\n\n```bash\ndocker build --build-arg NVIDIA_IMAGE=nvcr.io/nvidia/tensorflow:21.05-tf2-py3 -t ghcr.io/maastrichtu-ids/code-server-gpu:tensorflow-21.05-tf2-py3 -f Dockerfile.gpu .\n```\n\nBuild PyTorch:\n\n```bash\ndocker build --build-arg NVIDIA_IMAGE=nvcr.io/nvidia/pytorch:21.05-py3 -t ghcr.io/maastrichtu-ids/code-server-gpu:pytorch-21.05-py3 -f Dockerfile.gpu .\n```\n\n\nTest to run it locally:\n\n```bash\ndocker run -it --rm -p 8081:8081 -e PASSWORD=password ghcr.io/maastrichtu-ids/code-server-gpu:tensorflow-21.05-tf2-py3\n```\n\nPush:\n\n```bash\ndocker push ghcr.io/maastrichtu-ids/code-server-gpu:tensorflow-21.05-tf2-py3\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaastrichtu-ids%2Fcode-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaastrichtu-ids%2Fcode-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaastrichtu-ids%2Fcode-server/lists"}